Ocaml on raspberry-4

I tryed to give a try to the raspberry-pi-4 hardware.
ocaml seems to work perfectly on it with the assembly that it produce, which is, if I understood correctly, is not the same assembly than on a desktop computer, but unfortunatly, I haven’t been able to type more than 30 or 60 commands.
If some beginners want to learn ocaml with some rp-4 hardware, be aware that you will only have time to write one or two “hello-worlds” with it.

What happens to the Raspberry Pi after you type 30 or 60 commands that you cannot continue?

maybe the card burned

Not sure I understand what the OP is trying to say.

I’ve been running ocaml 5.x on a raspberry pi 4 (with debian 12 and then debian 13 as the O.S.) without problem for a couple of years or more. I’m not claiming I’ve been using it for anything ambitious, but I’ve got a 1000-line dream web-app that I wrote and ran on it.

It’s not as fast as my desktop PC of course, but acceptable with neovim and the LSP (I ssh into it).

The only oddity I noticed was some strange behaviour where multicore eio tests consistently came out slower than a single core. That was some time ago though and I didn’t spend too much time digging into it, so could have been user error or fixed by now.

Off topic, but I give all my RPis a real drive (either spinning rust or SSD / NVMe) for /var and /home. I now routinely do this on the first day when setting it up (I only have 2 of them, but I installed different versions of the OS on both).

If you can’t do this, or until you do this, at least set the storage for journald to volatile only i.e. /run/log.