News for hackers. Stuff that matters.
Re:When Zig Is Safer and Faster Than Rust by anon-3988 on Monday December 30, 2024 @06:53PM (#42554937)
I tried OCAML, My problem with it is that it smuggles in a lot of other concepts too. Especially with the thing about bindings and mutability. Also, the syntax.

Every FP languages tends to be "pure" and remove every "unnecessary" syntax to achieve some kind of "simplicity".

No, I want a true cavemen language. Treat me like I'm a low IQ idiot. "This function returns Option<T> DURRR ME HAVE TO MATCH ALL. ME DON UNDERSTAND WHAT "_" CLAUSE IS. ME NO UNDERSTAND LIFETIMES, LAST TIME I WROTE THE C BINDING ME BRAIN ALL FRY".

There's a space for language for people who:

1. learn the language in 1 hour 2. spend 100 hour writing the most mundane, verbose code

instead of:

1. learn the language in 100 hour 2. spend 1 hour writing the most beautiful, concise and pure code

Re:When Zig Is Safer and Faster Than Rust by zokier on Monday December 30, 2024 @08:30PM (#42555490)
Ocaml might have lot of faults, but I can't see it being overly puristic or minimalistic.