thomasmueller/bau-lang
View on GitHub ↗ ★ 80 Java
Bau is a simple, concise, safe, powerful and fast programming language.
20 mentions on Hacker News by 1 person: 0 stories, 20 comments · first 2025-04-21 · latest 2026-09-17
20082026
-
…compare it against yours. One improvement I did is some kind of preallocation for small blocks. https://github.com/thomasmueller/bau-lang/blob/main/src/main...
comment by thomasmg · 2026-09-17 · in Comparison of Malloc() Algorithms -
…are big differences. But I really like the moto "easy to use memory safety without tracing GC". [1] https://github.com/thomasmueller/bau-lang/tree/main
comment by thomasmg · 2026-08-07 -
…a bit more complex. Actually multiple such methods. But well, that's just my own use case. [1] https://github.com/thomasmueller/bau-lang/blob/main/src/test...
comment by thomasmg · 2026-04-18 · in It's OK to compare floating-points for equality -
…If needed, one could use a static function that returns 0 or panics or whatever is best. [1] https://github.com/thomasmueller/bau-lang/blob/main/README.m...
comment by thomasmg · 2026-03-09 · in My “grand vision” for Rust -
…are no typed unions currently (maybe I'll add them, not sure yet), but there are "Traits" [2]. [1] https://github.com/thomasmueller/bau-lang#types [2] https://github.com/thomasmueller/bau-lang#traits
comment by thomasmg · 2026-03-09 · in Ask HN: What Are You Working On? (March 2026) -
…learn as Python. Right now I'm trying to integrate Perceus, the ref-count optimization of Keka. [1] https://github.com/thomasmueller/bau-lang
comment by thomasmg · 2026-03-09 · in Ask HN: What Are You Working On? (March 2026) -
…still in Java only), a PDF generator (200 lines), and now also a tiny programming language [5]. [1] https://github.com/thomasmueller/bau-lang/blob/main/src/test... [2] https://github.com/thomasmueller/bau-lang/blob/main/src/test... [3]…
comment by thomasmg · 2026-02-16 · in Picol: A Tcl interpreter in 500 lines of code -
…The castling moves are specially tricky to implement I think. I enjoyed the challenge as well. [1] https://github.com/thomasmueller/bau-lang/blob/main/src/test...
comment by thomasmg · 2026-02-14 · in Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB -
…but is not shortest-width, it is around 290 lines for both parsing and toString [1] [1] https://github.com/thomasmueller/bau-lang/blob/main/src/test...
comment by thomasmg · 2026-01-25 · in Floating-Point Printing and Parsing Can Be Simple and Fast -
…management. It has reference counting with lightweight borrowing for performance sensitive parts: https://github.com/thomasmueller/bau-lang
comment by thomasmg · 2026-01-12 · in Zen-C: Write like a high-level language, run like C -
…(about 80 lines, and that includes the ~15 lines of binarySearch, which you might need anyway). [1] https://github.com/thomasmueller/bau-lang/blob/main/src/test...
comment by thomasmg · 2025-12-11 · in When would you ever want bubblesort? (2023) -
…it runs in O(n*log(n)^2). It is about 3 times more complex than shell sort. I implemented it here https://github.com/thomasmueller/bau-lang/blob/main/src/test... (most sort algos you mentioned above are in the same direcory btw) You didn't…
comment by thomasmg · 2025-12-11 · in When would you ever want bubblesort? (2023) -
…and Zig in this regard. Sure, we can argue the use case of Rust is different than eg. Python. [1] https://github.com/thomasmueller/bau-lang [2] https://github.com/thomasmueller/lz4_simple [3] https://github.com/thomasmueller/bau-lang/tree/m…
comment by thomasmg · 2025-11-07 · in A Note on Fil-C -
…(B) Swift is too Apple-centric currently. Sure, this might be become a non-issue over time. [1] https://github.com/thomasmueller/bau-lang/blob/main/doc/perf...
comment by thomasmg · 2025-11-07 · in A Note on Fil-C -
…So the language itself must be very good in my view, otherwise fewer people would use it. [1] https://github.com/thomasmueller/bau-lang/blob/main/doc/perf...
comment by thomasmg · 2025-11-06 · in How often does Python allocate? -
…are many languages like mine, most of them incomplete and not really popular, discussed in [3]. [1] https://github.com/thomasmueller/bau-lang [2] https://github.com/thomasmueller/bau-lang/blob/main/src/test... [3]…
comment by thomasmg · 2025-09-18 · in Luau – Fast, small, safe, gradually typed scripting language derived from Lua -
…language uses reference counting by default, but does support single ownership + borrowing.) [1] https://github.com/thomasmueller/bau-lang
comment by thomasmg · 2025-08-28 · in Group Borrowing: Zero-cost memory safety with fewer restrictions -
…which can be inaccurate. [1]: https://stackoverflow.com/questions/2667015/is-regex-too-slo... [2]: https://github.com/thomasmueller/bau-lang/blob/main/src/test...
comment by thomasmg · 2025-08-27 · in Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript -
…that is supposted to be (almost) as fast as C, Rust etc, but as simple and concise as Python: https://github.com/thomasmueller/bau-lang There is a playground which is using a C compiler and WASM, and so is quite fast, while running fully…
comment by thomasmg · 2025-07-28 · in Ask HN: What are you working on? (July 2025) -
…but it would still be concise (and sometimes, more concise). I tried to formulate a proposal here: https://github.com/thomasmueller/bau-lang/blob/main/RegexV2....
comment by thomasmg · 2025-04-21 · in Regex Isn't Hard (2023)