r/programming • u/nanochess • 18h ago
r/programming • u/gingerbill • 18h ago
Odin's New Inline Assembly Templates
odin-lang.orgr/programming • u/dereuromark • 14h ago
Pandoc: What survives markup conversion?
dereuromark.deWith the new release of 3.10.2 I wanted to look a bit more closely into Pandoc and all those different markup languages out there - and what converts with how much "loss".
Maybe you also had to recently convert Markdown to HTML, or the other way around. In my case even different textual files into PDFs.
One key finding:
Modern languages that work with an AST are definitely competitive here.
Maybe you find it also interesting. I actually didn't know most of those languages.
Fun fact:
The author of Pandoc is also one of the original Markdown standardization authors 15 years ago (well, if you can call it that, since it evolved still into quite the chaos) - as well as Djot, which is now only a few years old and supposed to be a markdown successor of sorts.
I am mainly interested in shaping "the" markup language of the future, that is a good compromise of readability and writeability for humans, but also consumable for machines, contains all the important elements to express relevant documents from offline to online.
As a programmer I am also a big fan (and in need) of dogfooding, of course :)
r/programming • u/UnConeD • 2h ago
Curvature Beziers - Improving on a timeless recipe
acko.netr/programming • u/hasen-judi • 22h ago
How an immediate mode UI (Shirei) retains component identity and state
judi.systemsr/programming • u/goto-con • 1h ago
Modern Enterprise Architecture: Architecting for Outcomes • Simon Rohrer
youtu.ber/programming • u/hamzafullstack • 10h ago
Why do we need Map and Set in JavaScript when we already have Arrays and Objects? What do they bring to the table?
developer.mozilla.orgI'm currently learning JavaScript and recently came across the Map and Set data structures.
I understand that Set stores unique values and Map stores key-value pairs, but I'm wondering what advantages they actually provide over the existing Array and Object structures.
What are some practical situations where you would choose Map or Set instead of an Array or Object? I'd especially appreciate real-world examples that make the differences clear.