Programming Leftovers
-
Bozhidar Batsov ☛ Simple Ways to Run OCaml Code
When people think of OCaml they are usually thinking of compiling code to a binary before they are able to run it. While most OCaml code is indeed compiled to binaries, you don’t really need to do this, especially while you’re learning the language and are mostly playing with small exercises.
-
Hackaday ☛ Learn Assembly The FFmpeg Way
You want to learn assembly language. After all, understanding assembly unlocks the ability to understand what compilers are doing and it is especially important for time-critical code. But most tutorials are — well — boring. So you can print “Hello World” super fast. Who cares?
-
Arne Sommer ☛ Min or Min with Raku
You are given an array of integers, @ints, increasing order.
Write a script to return the element before which you find the smallest gap.
-
Rust
-
Rust edition 2024 annotated
Last Thursday Rust 1.85 was released, and with it, edition 2024 has dropped. The new edition is significantly larger than the two editions that preceded it, and contains many small but significant quality of life improvements to the language. In this post, I’d like to explain what an edition is, and summarize all the changes that were made to the language I love. If you need the details, I recommend reading the edition guide, but for a general overview, read on.
-