PROGRAMMING QUESTIONS ONLY. Questions about general use should be asked on https://raspberrypi.stackexchange.com/
The Raspberry Pi 4B comes in three different models, the only difference being the amount of SDRAM (1GB, 2GB or 4GB).
The most notable spec improvements, compared to older models are:
- 1.5GHz 64-bit quad-core Cortex-A72 ARM v8 CPU
- 1GB, 2GB or 4GB LPDDR4-3200 SDRAM (depending on model)
- Gigabit Ethernet
- 2.4 / 5GHz 802.11ac Wireless LAN
- Bluetooth 5.0 BLE
- 2x USB 2.0, 2x USB 3.0
- 2x micro HDMI ports (both support up to 4kp60)
Visit Raspberrypi-Stackexchange for general questions about the Raspberry Pi.
Also useful might be the original raspberry-pi tag info.