
u/Xaneris47

"Porting my JavaScript Game Engine to C for No Reason" - Dominic Szablewski
phoboslab.orgInterconverting std::function with copyable_function – Arthur O'Dwyer
The article shows how converting std::function to std::copyable_function (or vice versa) leads to slower performance and increased memory usage each time the conversion occurs.
Some practical refactoring of bloated generated code
A review of some generated C++ code, going through different ways to refactor and shorten it, then checking whether it actually got faster
Floating-Point Error Handling in C++: What Actually Works
johnnysswlab.comLive talk on how to implement variables in a language
In this talk, the host will show the step-by-step process of implementing variables. He will demonstrate how they are represented and processed in a language and explain how to add this functionality to your own programming language.
This is part of a series of talks about creating a toy programming language. If you need some context, check out the previous episodes on youtube. Watching them all isn't super necessary, though.
History of JavaScript: Browser wars, ECMAScript, Node.js, TypeScript, and React
We took a look back at the history of JavaScript to explore its development from the earliest days to the present. This retrospective article is a good read for novice JavaScript enthusiasts who want to learn about the origins of the language, as well as for experienced ones who'd like to refresh their memories.
Lexical tokenization explained while building a lexer for a toy programming language
It's not highly theoretical and walks through actual lexer implementation in code
Wrote a rule, found a real bug, had to ignore it anyway
We made a rule to detect typos like identical operands in binary expressions. It had a few good and valid catches but turns out 1 << 1 triggers it in basically every codebase (Angular, Babel, pdf.js). So the tool issues a valid warning of 1 << 1 in one case and makes a lot of noise in many others. To make things clear: the story comes from our experience of building a static analyzer for JS and TS (currently in beta, we're collecting feedback on it).
That's why we had to make a trade-off. Any similar stories from your dev experience?
Continuing a book on gamedev engineering
This section follows the introduction and continues to explore broad game development concepts, with general thoughts and practices related to building complex game systems.
The book is based on the author’s real-world AAA game development experience and focuses on practical engineering rather than theory alone. New chapters are published every month
Building a custom expression parser
A new episode in the series on building a programming language from scratch. The idea of it not only to make a language step by step, but mostly to explore how programming languages and compilers work under the hood in simple terms.
After the episode on lexers, the upcoming session will cover the basics of parsing and building a simple expression parser in a live coding session.
Making your own programming language is easier than you think (but also harder)
A solid and surprisingly practical article for a game/modding environment. Detailed write-ups like this are rare.
Applying formal grammars in a custom programming language
The theory behind formal grammars explained through building a programming language