Doom-Ada: Doom Emacs Ada Language Module with Syntax, Lsp and Alire Support
Posted4 months agoActive4 months ago
github.comTechstory
calmpositive
Debate
20/100
EmacsAda Programming LanguageLsp
Key topics
Emacs
Ada Programming Language
Lsp
The post introduces Doom-ada, an Emacs module for Ada language support, sparking interest and discussion about Ada's features and the module's design.
Snapshot generated from the HN discussion
Discussion Activity
Moderate engagementFirst comment
1h
Peak period
8
0-12h
Avg / period
2.6
Comment distribution18 data points
Loading chart...
Based on 18 loaded comments
Key moments
- 01Story posted
Sep 12, 2025 at 11:11 AM EDT
4 months ago
Step 01 - 02First comment
Sep 12, 2025 at 12:31 PM EDT
1h after posting
Step 02 - 03Peak activity
8 comments in 0-12h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 16, 2025 at 5:51 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45222993Type: storyLast synced: 11/20/2025, 2:43:43 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Ada has a bunch of features built into it already, including concurrency support with tasks [0]
I just haven't found the right motivation to figure out what to do with it yet. Maybe I could play around with the Raylib bindings [1] at some point?
There's also the SDL bindings, which a LOT of work has seemingly gone into [2]
[0] https://learn.adacore.com/courses/intro-to-ada/chapters/task...
[1] https://blog.adacore.com/ada-gamedev-part-3-enjoy-video-game...
[2] https://github.com/ada-game-framework/sdlada
... and of course Ada / SPARK. You can do a lot of checks at compile time, so no performance penalty for any checks whatsoever. It is worth looking into.
And yes, you are right. Ada has concurrency constructs builtin the language that help you avoid dead locks, race conditions and all sorts of concurrency-related issues.
If anyone finds my comment with regarding to it, or may help me find it (there may be a website that could help with that), please let me know. IIRC there is a website for finding comments containing particular words from me, for example.
One take away is that learning Ada would be a good way to learn the proper way to write C++ code, because the patterns that C++ developers eventually adopted for that level of abstraction are prescribed in Ada. For instance, Ada's Controlled Types map pretty much exactly to the C++ "RAII" pattern.
Ada also is better than C as an embedded language because it has features that make mapping to hardware easier. For instance, it has Representation Clauses that describe to the compiler how a data structure needs to be laid out in memory. It also has native support for bit manipulation. This makes mmaped-io extremely easy and reliable.
https://github.com/doomemacs/doomemacs/tree/master/modules/l...
Note that I added a format-on-save hook in my config, and since I do completions using corfu and not company, I didn't include that part of the package.
https://github.com/doomemacs/doomemacs/tree/master/modules/l...