Christoffer Lernö

4K posts

Christoffer Lernö banner
Christoffer Lernö

Christoffer Lernö

@nuoji

Game developer @ AEGIK, working on @wararcana. Also tinkers with C3 (https://t.co/p7POZqx4IT)

Sala, Sweden Katılım Mart 2009
294 Takip Edilen488 Takipçiler
Christoffer Lernö
@AndrewGossage33 @ForrestPKnight You're not addressing my point. What I'm saying is that Zig is not doing a comparable amount of work that others with smaller teams are already doing. As a practical example: there are few excuses for not having any built in deprecation mechanism this far in, and yet it's missing
English
0
0
0
7
Andrew Gossage
Andrew Gossage@AndrewGossage33·
Zig has been completely open about the breaking changes so I really find that argument weak. If someone is concerned about that then honestly for now at least another language is the right choice. Zig is trying to avoid the pitfall that c++ has fallen into where the standard library is stuck with features that really should have been iterated on a few times before becoming a permanent fixture. That approach has clear tradeoffs. Also most of the breaking changes have been in the stdlib rather than the language itself although maybe separating those out isn't quite fair either. Zig certainly isn't perfect and neither are the people who maintain it but it also does have some very strong points in its favor.
English
1
0
0
27
Forrest Knight
Forrest Knight@ForrestPKnight·
Most of the Zig "hate" I've seen is just fun n' games. But even so, having an anti-Zig stance is completely understandable. - still in beta after 10 years, unstable - break code almost every release (wonder if they'll rewrite I/O again, again) - anti-ai policy regardless of code quality - good PRs blocked due to that policy - moving off GitHub with a holier-than-thou attitude... while the engineering reasons were understandable, the political bookending was nonsense - call GitHub engineers monkeys and losers then backtrack when you receive backlash - their whole comptime duck typing thing is rough. no traits, no interfaces, errors buried in generic bodies. good luck to ya. Zig's largest user has to fork Zig to ship at a reasonable pace, and when they try to push a change with 4x faster debug compilation, Zig doesn't accept it. So let's not pretend the Zig "hate" is unwarranted. There are plenty of reasons for it.
Mitchell Hashimoto@mitchellh

It isn't unexpected that the focus of the Bun Rust rewrite is on the anti-Zig side more than anything, since the internet loves to hate. What is unexpected and unfortunate is that leadership within Bun hasn't tried to steer the conversation away from that at all. There are so many positive and interesting takeaways from this and I'm not really seeing any of them pushed as the primary message. A positive thing that hasn't been talked about at all is how far Bun came thanks to Zig. And even if you dump it now, its meaningful for how good Zig was to even build a product to this point and impact by any metric. I would've loved to see anyone in leadership say this. On the interesting side is how fungible programming languages are nowadays. Programming languages used to be LOCK IN, and they're increasingly not so. You think the Bun rewrite in Rust is good for Rust? Bun has shown they can be in probably any language they want in roughly a week or two. Rust is expendable. Its useful until its not then it can be thrown out. That's interesting! There's been a lot of talk about memory safety and no doubt Rust provides more guarantees than Zig. But I'd love to see a better analysis of why Bun in particular suffered so much rather than take the language-blame path. How could engineering as a practice been more rigorous to prevent this? What were the largest sources of crashes other programs should watch out for? How does Rust prevent them? How could Zig theoretically prevent them? That's interesting. I know the official blog post hasn't come out yet from Bun. But they're smart enough to know that that PR would stir up controversy the moment it opened, or they should've been. And plenty in the company have been tweeting and writing about it. Its somewhat telling to me in various dimensions what they chose to talk about first. I tend to think I'm pretty good at corporate PR/comms (especially when it comes to developer audiences) and I think appealing to the negative is never the right long term strategy; it does work to get short term eyes though.

English
50
14
420
49K
Christoffer Lernö
@AndrewGossage33 @ForrestPKnight They could do so much better if they cared about predictability and smooth upgrade paths. The fact that the Zig community gives them a free pass to do it like this is the problem, because that means no incitament to improve.
English
1
0
0
26
Christoffer Lernö
@AndrewGossage33 @ForrestPKnight Compare Zig's attitude to "breaking changes" with Odin and C3. The contrast is stark. Odin is essentially stable, C3 has yearly planned breaks in 0.x.0 versions, with backwards compatibility guarantees for the monthly +0.0.x releases. Zig is beta is a poor excuse.
English
1
0
0
61
Christoffer Lernö retweetledi
Jonathan Blow
Jonathan Blow@Jonathan_Blow·
Something we've been working on...
English
266
703
9.5K
1.1M
Christoffer Lernö
C3 + Raylib example with cross compilation to Windows, curtesy of Manu Barrio Linares, who wrote the new Windows SDK downloader for the @c3lang compiler: youtu.be/xrhRGl9gS1U
YouTube video
YouTube
English
0
4
36
12.2K
fucory
fucory@FUCORY·
@ChrisCo512 Yea it’s the worst highly used in production code I’ve ever read. That’s the detail I think everybody is missing when it comes to memory related issues
English
2
0
6
947
Jon Klaric
Jon Klaric@complex_maths·
@AdamRackis Zig existed before Bun. Ghostty is written in Zig. I think it will still continue to grow for those who want to use ultra-low level, ultra-performant code (especially if coded by hand), but rust will still be the preferred choice when used by AI due to enforced memory safety.
English
4
0
69
7.3K
Adam Rackis
Adam Rackis@AdamRackis·
Now that Bun is moving off Zig ... will we ever hear about that language again? Bun was the only thing I'd ever heard of using it, and it's moving to Rust. Hard to imagine anyone being eager to build on Zig at this point. Am I missing something?
English
113
5
713
102.7K
Christoffer Lernö retweetledi
Jotrorox
Jotrorox@jotrorox·
Well, after exactly 1 month of development today arduino.c3l is finally promoted to 0.1 and with that it's first official release. A huge thanks to the awesome work of @nuoji on the compiler and the awesome community that built around @C3Lang. github.com/Jotrorox/ardui…
English
0
2
6
218
Vittorio Romeo
Vittorio Romeo@supahvee1234·
Patch notes: - Fixed major issue where slider widgets were not affected by gravity. I sincerely apologize for this oversight.
English
8
27
1K
57.3K
RFTW
RFTW@ZH1YGD·
@nuoji @ManuBLinares Yes . Very nice. I would remove rust and d due to wider scope and jai for the same reason plus it may never be available to the general public as open source. With the gained space I would be really specific about C interop, type system, strings etc
English
1
0
0
28
RFTW
RFTW@ZH1YGD·
@nuoji @ManuBLinares If are looking for suggestions, then I would suggest publishing a table with all technical differences between C3 C Zig Odin It is difficult for anyone to invest time in learning all of them
English
1
0
0
42
Christoffer Lernö
Christoffer Lernö@nuoji·
(I also felt that it was meaningful if there was a C alternative that looked like C, because no-one else was doing that) But anyway, regardless of what happens with these different alternatives, Jon is basically the godfather to all of them.
English
1
0
14
537
Christoffer Lernö
Christoffer Lernö@nuoji·
In my case I couldn't get hold of Jai, so I looked for some language to contribute to and found C2 (from 2013, which actually predates Jai!) and when it was clear the language was stalling I decided to see how far I could get on my own.
English
1
0
10
611
Christoffer Lernö
Christoffer Lernö@nuoji·
Right now I'm watching the old (1 year ago) @wookash_podcast podcast with @Jonathan_Blow, and I want to confirm that Jon's work on his language was a huge inspiration to me personally, and I'm sure the other languages were directly influenced by Jai as well.
English
2
2
70
5K
Christoffer Lernö
Christoffer Lernö@nuoji·
(C3 naming rules have to be enforced in the lexer to make its C-like grammar LL1, so it's not about the language trying decide what code style you should have)
Christoffer Lernö tweet media
English
0
0
7
465