Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
octalide
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
octalide
4mo ago
Fantastic stuff! You should join the discord if that's your ballgame. If you DO run into problems, make sure to post an issue or let me know on discord! As a note, I've made some massive upgrades to stability and the release pipel
2.
▲
by
octalide
4mo ago
Absolutely. We have the ability to match the performance of C very easily in the future. Priority is fleshing out the compilation target backends, but that's coming after. We're "fast enough" for the time being, but we c
3.
▲
by
octalide
4mo ago
The performance is definitely something I'm happy with at this early stage. A few optimizations get you a LONG way. I'm glad to hear that you found it easy to read (that was a main goal of the design)! Thanks for actually reading
4.
▲
by
octalide
4mo ago
Yes LOL. This was a little bit of an oversight on my part from back in the day. Mach can produce MachO binaries (no affiliation) that run on the Mach kernel (no affiliation). I see it as more of a funny coincidence than an impending lawsuit
5.
▲
by
octalide
4mo ago
Partially, yes, but not in the way you're thinking. LLMs have done a significant amount of the "typing", but I was behind the wheel at every stage of development and wrote almost the entirety of the original compiler designs
6.
▲
by
octalide
4mo ago
Please do! I've barely touched macos since I don't have the ability to properly test it from my end. If you want to take a crack at it, feel free to work on some of the open issues related to it!
7.
▲
by
octalide
4mo ago
To build mach from the archived bootstrap compiler, you need clang. That's it. git to clone the repo and a C compiler. That goes all the way through the self hosted compiler. Mach doesn't rely on LLVM, doesn't link to libc, d
8.
▲
by
octalide
4mo ago
You can shoot your legs all day in mach. There is no such thing as unsafe code, just poorly designed code. The stdlib has patterns like zig's allocator design as well as Option and Result types that are used frequently through the stdl
9.
▲
by
octalide
4mo ago
That's a good point. I was thinking about that specific thing this morning (how the documentation doesn't fill it out properly). Here's an easy comparison list for you. Mach vs: - C: More modern and consistent syntax with a d
10.
▲
by
octalide
4mo ago
Thanks! The speed is almost entirely a dramatic optimization difference. From what I can tell, most of that difference comes from vectorization (like you stated) and other things like target-specific machine code optimization happening post
11.
▲
by
octalide
4mo ago
I played around with an entire branch of the language that used a zig-style meta programming type system and it ended up just getting in the way more than it helped. The only thing I may consider in the future is something along the lines o
12.
▲
by
octalide
4mo ago
You may not be the target, but that does not invalidate that point. My personal view of the what is and isn't hidden behavior is definitely something that will rub a LOT of people the wrong way. That being said though, this project has
13.
▲
by
octalide
4mo ago
Thank you. Took a long... long time to get it to even this stage, and there's so much more left to do.
14.
▲
Show HN: Mach – A compiled systems language looking for contributions
(github.com)
32 points
by
octalide
4mo ago
|
31 comments
15.
▲
Show HN: Mach, a new systems language that focuses on being simple and explicit
(github.com)
3 points
by
octalide
11mo ago
|
0 comments