Elektrine lite

← Feed

@meltedcheese@c.im

Post #2716245

2026-04-24 20:16 UTC

@TomF@mastodon.gamedev.place There is a balance. I often used both compile-time and run-time macros to provide higher level constructs — a mini-language — that matched my problem domain and let me control some optimizations. My colleague did something similar with an optimizing compiler that basically rewrote the source code (joke was it turned other people’s code into something he would have written). Bottom line: there are good technical and creative reasons to work with customized programming languages.

Replies (1)

  • @TomF@mastodon.gamedev.place 2026-04-24 20:28

    @meltedcheese@c.im Of course. But you should be very aware that that is exactly what you are doing - creating a new language. With all the problems that entails. Keep careful track of your bang/buck, and don't boil your own frog.

    Open ##2716246