It's been around 6 years that I've started my work and research on Serene's #language and #compiler. One of the big mental challenges that I had, is that I keep rewriting the compiler occasionally due to a new turning point in my understanding. It bugged me a lot and every so often I feel lost. Yesterday, I had a chance to talk to a few devs of Clasp lang. I felt much better when I learned they had the same experience and rewrote the compiler many times. So it's all natural to feel lost.
🤔 Ah yes, the thrilling world of #aliasing, where optimizations go to die, and compilers throw in the towel faster than you can say "Advent of Giving Up." 🎄 Matt's #blog, expertly proofread by an #LLM, offers the riveting insight that *knowing why* your #compiler is a quitter is just as important as actual #optimization, because who doesn't love a good excuse? 😂
https://xania.org/202512/15-aliasing-in-general #insights #AdventOfGivingUp #HackerNews #ngated
Aliasing — Matt Godbolt’s blog

Knowing when the compiler can't optimise is important too

Wer mit Java arbeitet, kennt den Operator instanceof wahrscheinlich schon länger. Er wird genutzt, um zu prüfen, ob ein Objekt einer bestimmten Klasse oder einem bestimmten Typ entspricht. Doch seit Java 16 gibt es eine deutliche Verbesserung: Pattern Matching für instanceof. Diese Neuerung sorgt

https://magicmarcy.de/pattern-matching-for-instanceof

#PatternMatching #instanceof #Java16 #Casting #Compiler #Negationen #Programming #Java

Pattern Matching for instanceof | magicmarcy.de

Wer mit Java arbeitet, kennt den Operator instanceof wahrscheinlich schon länger. Er wird genutzt, um zu prüfen, ob ein Objekt einer bestimmten Klasse oder einem bestimmten Typ entspricht. Doch seit Java 16 gibt es eine deutliche Verbesserung: Pattern Matching für instanceof. Diese Neuerung sorgt nicht nur für kompakteren Code, sondern macht ihn auch sicherer und besser lesbar – besonders für Einsteiger ist das ein echter Gewinn.

magicmarcy.de

Things I'd like to achieve next year

...with zero pressure - just stuff I'd like to do if I get the chance

  • Get as many of the #Psion SIBO C SDK apps rewritten as possible. I really enjoy using #FreePascal for this! It's vastly underrated for writing cross-platform CLI apps.
  • Make some code run on #EPOC16 from a tiny/toy #compiler of my own. Not an entire C compiler, just something where I've generated some 8086 (or NEC V30) assembly from something very basic that actually runs, including implementing the TopSpeed calling convention.
  • Work out how the #MAME debugger works so that I can add 4MB RAM support to EPOC16. Maybe learn some things about the internals of EPOC16 along the way. Eventually write this updated EPOC16 ROM to flash and get it running on real hardware.
  • Make a #PsiDrive PCB that can write to flash drives. Just needs a +16V boost converter added to the board.
  • Get an #RP2350 to pretend to be a small Psion SSD, using the on-die RAM and PIO. Bonus if it uses a battery. Extra bonus if it can write to external RAM or Flash.
  • Move #libsibo away from the Arduino libraries and over to the Pico SDK. This just feels like the right move, but means I'll need to learn cmake as well.
  • Learn how to write good unit tests. It's not a problem with learning frameworks - both fptest and fpcunit are simple enough. My brain is freezing when trying to decide on what to test and why. I know my code will improve once I've grasped this.

There are a lot of moving parts to all of these. Some need me to learn multiple sub-skills, such as 8086 assembly. Like I said, this isn't a list of Things Alex Must Get Done Next Year. I'd be happy if I achieved just one of them.

I'm curious... Which one of these would you like to see the most?

#retrocomputing

x86 calling conventions - Wikipedia

Hash tables in Go and advantage of self-hosted compilers

https://rushter.com/blog/go-and-hashmaps/

#compiler

Hash tables in Go and advantage of self-hosted compilers | Artem Golubin

A story about debugging Go's hashmaps.

Artem Golubin
"How much are his fingers on the keyboard?" - BRENT SIMONEAUX, Should Managers Code?, Compiler #compiler #BrentSimoneaux

Orbit a systems level programming language that compiles .sh to LLVM

https://github.com/SIE-Libraries/orbit

#HackerNews #Orbit #Systems #Programming #LLVM #.sh #Compiler #HackerNews

GitHub - SIE-Libraries/orbit: A modern shell with functional programming synatx.

A modern shell with functional programming synatx. - SIE-Libraries/orbit

GitHub
The M/o/Vfuscator compiles programs into "mov" instructions, and only "mov" instructions. Arithmetic, comparisons, jumps, function calls, and everything else a program needs are all performed through mov operations; there is no self-modifying code, no transport-triggered calculation, and no other form of non-mov cheating. 🤯 https://github.com/xoreaxeaxeax/movfuscator #programming #compiler #assembler

AsmX G3 v30.0.0-rev1.0: мы взорвали четвёртую стену низкоуровневого программирования

AsmX G3 v30.0.0-rev1.0 — крупное архитектурное обновление, которое делает ассемблер не «инструментом 90-х», а полноценным современным языком системного программирования. Главные изменения: пакетная сборка --multiboot с Supervisor, атомарная очистка --multiclean , поддержка изменяемых данных ( .data ), новые ISA-инструкции (включая inc/dec и movsxd ) и выразительный синтаксис функций с экспериментальной поддержкой возвращаемых типов. Одной командой теперь можно собрать загрузчик, ядро, модуль ядра и динамическую библиотеку — и Supervisor гарантирует консистентность и изолированность ошибок в подзадачах. Для разработчиков это означает: CI в 3–5 строк вместо громоздких Makefile, меньше рутины и полная управляемость сборки. Языковые улучшения (честные строки, @syscall , @fn share , @fn static , полноценная .data ) переводят AsmX G3 в категорию «язык для реальных проектов»: библиотеки .so , production-модули .ko и микро-ОС — всё это теперь удобно писать, собирать и отлаживать на чистом ассемблере. Если вы работаете с ядром, драйверами или пишете рантаймы, v30 — релиз, который стоит испытать прямо сейчас: меньше хака, больше гарантий, полный контроль над железом — и при этом современный синтаксис.

https://habr.com/ru/articles/975112/

#asmx #asmx_compiler #asmxzgen_compiler #compiler #innovations #2026 #2027 #2028

AsmX G3 v30.0.0-rev1.0: мы взорвали четвёртую стену низкоуровневого программирования

17 декабря 2025 года. Три месяца интенсивной разработки, казавшиеся вечностью, позади — и мы на старте. Представьте, что мы запускаем Falcon Heavy в космос, но вместо топлива – чистый интеллект и...

Хабр
A Turbo Pascal compiler running on a web browser

Fredrik Fatemi and Lawrence Kesteloot spent the summer of 1989 writing graphics programs in Turbo Pascal on a 286 PC (with EGA!) in a basement while watching The Princess Bride again and again on a…

Adafruit Industries - Makers, hackers, artists, designers and engineers!