Loris Cro ⚡ Profile Banner
Loris Cro ⚡ Profile
Loris Cro ⚡

@croloris

Followers
5,651
Following
97
Media
455
Statuses
5,652

VP of Community @ Zig Software Foundation • Zig Livecoding • Creator of • Host of • 📧 loris @sycl .it

Milan, Italy
Joined June 2012
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@croloris
Loris Cro ⚡
3 years
lldb is the worst database I've ever used, couldn't even figure out how to add data to it. heard good things about gdb, so it's next on my list.
21
193
1K
@croloris
Loris Cro ⚡
1 year
For people who heard about Zig just recently: - Zig is not 2x faster than Rust, despite what recent benchmarks might lead you to believe. - You won't find many Zig jobs for a few years still, despite the Tiobe stuff. - Don't join to the Zig community just to rant about Rust.
15
25
405
@croloris
Loris Cro ⚡
1 year
For the people worried about Zig's growth rate: we're doing fine, don't worry.
Tweet media one
14
18
349
@croloris
Loris Cro ⚡
23 days
The Zig project is globally distributed and "work from home" by necessity, while at the same time being one of the most prolific and impactful projects currently active. But to be fair he was CEO of an advertisement company, can't expect him to know too much about technology.
@Carnage4Life
Dare Obasanjo🐀
26 days
Former Google CEO, Eric Schmidt, told Stanford students earlier this week that Open AI is beating Google in artificial intelligence because “Google decided that work-life balance and going home early and working from home was more important than winning”😬
147
189
1K
19
28
274
@croloris
Loris Cro ⚡
1 year
The Zig subreddit has closed, if you like forum-style communities check out , and if you like long-form content check out .
Tweet media one
9
24
271
@croloris
Loris Cro ⚡
2 years
People on HN are hating on Casey's video about performance while their company is spending double digits % of their revenue on AWS bills to serve 3 forms and 1 database view which took them 6 months to develop using the latest agile methodology. It also crashes every 24h.
16
11
259
@croloris
Loris Cro ⚡
2 years
Please don't go around suggesting to projects to rewrite their code in Zig. It's cringe as fuck. Yes, even if they're currently in the process of choosing a new language to rewrite the project in.
16
16
245
@croloris
Loris Cro ⚡
2 years
I wrote about the new Zig self-hosted compiler and what's next for the project after we ship it November 1st.
8
46
233
@croloris
Loris Cro ⚡
3 years
The official Zig website has a new bullet point on the front page!
Tweet media one
2
15
202
@croloris
Loris Cro ⚡
1 year
Learning Zig, an introduction to the Zig programming language.
2
33
199
@croloris
Loris Cro ⚡
2 years
"Software engineers are attracted to complexity like a moth to the flame." Quote I heard in a Discord discussion in the Handmade Discord server.
10
24
186
@croloris
Loris Cro ⚡
10 months
Documentation on how to use the Zig Build System :^) Andrew and I have been hanging out in the last few days and worked on those.
6
31
169
@croloris
Loris Cro ⚡
1 year
For people wandering about what Zig should be used for: Zig's main domain are computers, you're welcome.
3
5
173
@croloris
Loris Cro ⚡
2 years
Advocating for mandatory full memory safety is like advocating for abstinence as the only form of contraception. It would totally work if not for all the sexy intrusive data structures and slutty C APIs out there.
13
17
152
@croloris
Loris Cro ⚡
2 months
Improving Your Zig Language Server Experience Also thanks to @ThePrimeagen for live-testing the first iteration of this post :^)
6
11
149
@croloris
Loris Cro ⚡
11 months
Zig Is Now Also A Windows Resource Compiler
2
17
140
@croloris
Loris Cro ⚡
10 months
20% faster compiler boot times on windows by removing dependency on shell32.dll and ole32.dll 60% faster for builds of Zig sans LLVM, which currently is not that interesting but will be eventually once LLVM becomes optional
3
12
131
@croloris
Loris Cro ⚡
1 year
Most of the Rust drama that I know about is based on the fact that the project is at a point in its life where most people don't feel they can assume good intentions from the other party anymore when shit happens.
5
4
125
@croloris
Loris Cro ⚡
3 years
Reading source code is the way. We all should read more and write less.
5
17
121
@croloris
Loris Cro ⚡
1 year
Ziglings has become so powerful that they don't need GitHub Stars anymore (they already found Yoshi at the top of the castle), so they moved to Codeberg & have a new fancy website.
7
5
119
@croloris
Loris Cro ⚡
8 months
Announcing the 2024 Zig Software Foundation financial report and fundraiser! We're also going to have a Zig SHOWTIME episode where Andrew will present the 2024 roadmap for Zig!
1
28
115
@croloris
Loris Cro ⚡
1 year
Zig SHOWTIME returns on September 5th with Mitchell Hashimoto who will talk about Ghostty, his new terminal emulator written in Zig.
2
15
115
@croloris
Loris Cro ⚡
1 year
Zig is the 6th most used language on Compiler Explorer (Godbolt). Frankly, I find this stat significantly more interesting than the number of Zig-related questions on Stack Overflow.
6
11
114
@croloris
Loris Cro ⚡
2 years
Programmers who use Visual Studio daily have the guts to claim that software performance doesn't need serious improvement.
16
3
108
@croloris
Loris Cro ⚡
2 months
Zig as a Multi-OS Build System Another great interview with @krisajenkins , the best host I've ever had the pleasure to meet. Of particular interest for those who suffered the pain of failing to build C/C++ dependencies in the past.
1
10
113
@croloris
Loris Cro ⚡
8 months
Zed now supports Zig
@zeddotdev
Zed
8 months
Thanks!
Tweet media one
11
11
489
1
5
113
@croloris
Loris Cro ⚡
1 year
Final resolution of the LLVM divorce issue (YOU WILL NOT BELIEVE COMMENT #1616115039 )
4
12
112
@croloris
Loris Cro ⚡
2 years
A Reddit comment from a software engineer who worked on Red Dead Redemption 2. Wow.
Tweet media one
6
4
109
@croloris
Loris Cro ⚡
1 year
Ziggy Pydust, a framework for building native Python extensions in Zig.
5
15
109
@croloris
Loris Cro ⚡
2 years
Bun stages of denial - It's not faster than node - How can it be faster than industry standard tools w/ VC backing - Ok it is faster but it doesn't matter because network latency (LMAO) - How could it take this long for npm to fetch my deps - *updates CV to add Bun next to Node*
3
5
110
@croloris
Loris Cro ⚡
1 year
Rule #1 when organizing events: if you tell a speaker that their talk was accepted, you don't walk it back. If you tell a speaker that their talk is going to be the keynote, you don't walk that back either. I haven't been organizing events for that long but even I know that.
3
4
107
@croloris
Loris Cro ⚡
2 years
SEGFAULTS HATE HIM Get stack traces on crash in your C programs with this one weird trick by Andrew
6
22
106
@croloris
Loris Cro ⚡
10 months
Some people were complaining about unused variable errors, Andrew heard your complaints and added unmutated 'var' errors. The breakages and hard errors will continue until morale improves.
6
5
101
@croloris
Loris Cro ⚡
2 years
So I have a local fork of Go that can build CGo projects that depend directly on Zig files. Maybe I should call it ZGo :^) See screenshots attached: first one is a ZGo project, second one is the one-line diff to the Go compiler to make this work.
Tweet media one
Tweet media two
5
10
96
@croloris
Loris Cro ⚡
1 year
Here's some Zig "drama" for you.
6
14
97
@croloris
Loris Cro ⚡
1 year
The best thing about Zig's async/await is that (once the compiler restores support for it) people won't have to stress over it: you want it? It's there; you don't want it? It won't annoy you.
3
7
97
@croloris
Loris Cro ⚡
1 year
A very thoughtful review of Zig by sekao that I highly recommend you watch!
3
6
96
@croloris
Loris Cro ⚡
2 years
If I ever see somebody become some kind of Zig extremist, I will do everything in my power to push that person away from the community. Not going to look away while that person relentlessly attacks other languages because they don't fully espouse the same philosophy as Zig.
6
5
94
@croloris
Loris Cro ⚡
1 year
Want to improve as a programmer? Stop staring at programming language benchmarks while debating which is the fastest with other people who have no idea how programs get executed by the machine.
4
8
93
@croloris
Loris Cro ⚡
3 years
It seems that Zig has reached Nim in number of stars on GitHub!
Tweet media one
2
5
95
@croloris
Loris Cro ⚡
3 years
Thanks to , Zig now has bindings to all win32 APIs based on Microsoft's projection metadata, and we're even listed on the official repository! Awesome work!
0
12
93
@croloris
Loris Cro ⚡
3 years
By using the ⚡ emoji you accept Zig's terms and conditions which state that all your codebase are belong to us.
8
3
90
@croloris
Loris Cro ⚡
2 months
Listening to Andrew's talk at Systems Distributed NYC!
Tweet media one
5
7
89
@croloris
Loris Cro ⚡
1 year
Say what you will about the EU but now iPhones will have usbc ports and app sideloading thanks to EU regulations. Legally mandated design improvements.
5
5
92
@croloris
Loris Cro ⚡
2 years
Docker becomes way less important once you start working with single-executable applications 👌
5
1
91
@croloris
Loris Cro ⚡
3 years
It's only a pointer if it comes from the memory region of France, otherwise it's just a sparkling integer.
1
10
89
@croloris
Loris Cro ⚡
2 years
Box2D moving to C from C++ I just started sponsoring the project on GitHub Sponsors.
Tweet media one
2
4
88
@croloris
Loris Cro ⚡
3 years
I warmly recommend checking out the results of the wasm4 game jam, it got lots of cool submissions. It's also extremely pleasing to see how many how those were made in @ziglang . Hopefully one day I too will have the opportunity of trying my hand at making games :^)
Tweet media one
WASM-4 Jam report video is out! @wasm4_org
0
5
37
3
12
87
@croloris
Loris Cro ⚡
2 years
Zig's Curious Multi-Sequence For Loops
3
8
86
@croloris
Loris Cro ⚡
2 years
Memory safe programs are nice, but correct programs are better. If you don't know what I mean, take a look at @TigerBeetleDB 's design documents. Memory safety is a itty bitty tiny aspect of correctness.
1
9
83
@croloris
Loris Cro ⚡
2 years
Systems Distributed is starting! @TigerBeetleDB
Tweet media one
1
5
83
@croloris
Loris Cro ⚡
2 years
It took a while, but with the addition of TLS and an HTTP client to the standard library, the floodgates to webdev in Zig are about to burst open. I guess I'll have to finish all the remaining TODOs to my Redis client soon.
4
4
82
@croloris
Loris Cro ⚡
2 years
A build of Zig's stdlib docs based on the new Autodoc implementation has been published on the official website. Still *a lot* to do, but you can now see the full API of ArrayList, AutoHashMap and other generic data structures. This was buggy before.
6
8
81
@croloris
Loris Cro ⚡
1 year
@awesomekling Is it an offer by Google to have it be the default search engine? :^)
0
0
80
@croloris
Loris Cro ⚡
2 years
Bun really shows how much of our modern tooling desperately needs to be revisited with a performance-oriented mindset.
1
7
78
@croloris
Loris Cro ⚡
3 years
So, C got `defer`, but they went for Go's version. In Go (and now C), defer runs at the end of the function. Place a defer in a loop's body and the language will have to allocate to keep track of everything. In Zig, defer runs at the scope level, no allocation required, ever.
8
11
80
@croloris
Loris Cro ⚡
2 years
Nobody uses Zig in production and yet every other day I chat privately with people who say that their startup is using Zig one way or another. Oh well :^)
5
2
79
@croloris
Loris Cro ⚡
3 years
Every Open Source project is different, starting from the governance, up to the community. In this article I give you an overview of @ziglang , both as a project and a community to help you decide if we're the right fit for you.
1
14
76
@croloris
Loris Cro ⚡
1 year
People who think that Zig is a dumbed down language are the same ones that think that a professional barber's razor is also dumbed down because it only has one blade instead of 6, a swiveling head and a battery-powered vibration function.
5
6
76
@croloris
Loris Cro ⚡
10 months
Zig meetup in Portland OR this Saturday. Andrew, Matt Knight and I will be there alongside other Ziguanas. Please RSVP if you plan to join us!
2
4
69
@croloris
Loris Cro ⚡
1 year
A Note About Zig Books for the Zig Community
3
10
75
@croloris
Loris Cro ⚡
2 years
People today don't know yet how much duplicated effort will be prevented by colorblind async in Zig. One single, readable codebase for both blocking and evented I/O, instead of spawning the *-async version of every project.
4
5
72
@croloris
Loris Cro ⚡
3 years
How to make people stop using Discord: make a better chat app. It's that simple. No, don't be a "nice dev" and shame users for not using a chat application that better aligns to your ideology. Just make a better one. It's that simple.
5
5
72
@croloris
Loris Cro ⚡
1 year
Mitchell (now a dad) is going to talk TOMORROW on Zig SHOWTIME about Ghostty, his new terminal emulator.
3
1
73
@croloris
Loris Cro ⚡
2 months
After getting a taste of fully instrumented fuzzing, I can't stop doing it. I feel such a bozo for having written unit tests for minor things in the past.
4
3
72
@croloris
Loris Cro ⚡
3 years
New blog post about how I think we can improve systems programming. Fair warning: I'm not a hardcore systems programmer, but that's actually why I think I'm qualified to have this opinion.
4
17
71
@croloris
Loris Cro ⚡
2 years
I love trains. I love public transport. Fuck cars.
1
1
67
@croloris
Loris Cro ⚡
10 months
There's been a bunch of discussion about a design flaw in Zig related to fn arguments (pass by value vs ptr). Martin Wickham has given a great talk on the subject at SYCL23 delineating both the problem and how the core team plans to find a solution.
1
8
67
@croloris
Loris Cro ⚡
2 years
People who don't like C++ are trying to replace it, fine. People who do like C++ are also trying to replace it (eg see Jakt), much more telling.
3
2
67
@croloris
Loris Cro ⚡
1 year
Zig Onboarding Strike Force ASSEMBLE
@ThePrimeagen
ThePrimeagen
1 year
going to learn zig on stream to day 12:30 pm, MANTANYA TIME
27
4
220
3
6
67
@croloris
Loris Cro ⚡
8 months
In a little under 2h from now Zig SHOWTIME #36 will host Andrew Kelley who will talk about the Zig Roadmap for 2024. More info here:
0
12
67
@croloris
Loris Cro ⚡
2 years
The website for Software You Can Love 2022 is live! And don't forget to check out the announcement blog post :^)
6
15
67
@croloris
Loris Cro ⚡
2 years
Oven is hiring Zig developers. I guess u0 is not enough to count Zig jobs anymore :^)
Introducing Oven: the company behind Bun. Oven has raised $7m led by @buckymoore at Kleiner Perkins with participation from @rauchg @ycombinator and more
69
344
3K
2
6
65
@croloris
Loris Cro ⚡
1 year
The recording from Mitchell's talk is out! This is the first Zig SHOWTIME episode I've run in a long time, it was interesting going back to my Zig roots :^)
2
8
67
@croloris
Loris Cro ⚡
2 months
I've created a small Zig package to make it easier to get started fuzzing your Zig/C/C++ programs with AFL++. Yes you can use this even if you only have C/C++ code!
4
8
66
@croloris
Loris Cro ⚡
2 years
Some people complain about Zig's @ syntax but man knowing without a doubt when something is a builtin vs an imported symbol (fully qualified btw) is amazing. When I read code in other languages I always have myself questions that in Zig you simply don't need to ask yourself.
12
4
65
@croloris
Loris Cro ⚡
5 years
I published a new post on my personal blog, and I've also enabled CSS night mode support. Night mode all the things! #golang #rust #java #csharp #python #ziglang Why Go and not Rust?
Tweet media one
8
27
63
@croloris
Loris Cro ⚡
4 years
New post on my personal blog, co-authored with @andy_kelley , about the upcoming Zig self-hosted compiler that will feature a very nice quality-of-life improvement for iterative development: incremental compilation with in-place binary patching!
1
16
63
@croloris
Loris Cro ⚡
4 years
"Why I rewrote my Rust keyboard firmware in Zig" by @lynaghk "Perhaps, but Zig makes a compelling case that — at least for my pandemic-hobby-project keyboard firmware — I get by with far fewer concepts."
2
11
64
@croloris
Loris Cro ⚡
2 years
Zero Man is a basic Mega Man clone made by @captainhorst . It's written in Zig, compiled to WASM and runs in the browser using WebGL.
1
7
61
@croloris
Loris Cro ⚡
1 year
@ThePrimeagen There's a big difference between the Rust project and the Foundation, with the latter doing sus stuff in my opinion. Too long a list for a tweet, but just to name one: look at what happened to the last ED & who controlled the Foundation in the meantime (chair + board seats)
8
4
60
@croloris
Loris Cro ⚡
2 years
Just received confirmation for a talk for the upcoming Zig meetup that might interest some of you: "How Zig is used at Uber" More info about the meetup:
4
10
61
@croloris
Loris Cro ⚡
2 years
POV: you're president at the Zig Software Foundation
Tweet media one
4
2
60
@croloris
Loris Cro ⚡
1 year
Hey @fireship_dev we had a Zig conf () a couple weeks ago, it's close to your depiction, but not quite :^)
Tweet media one
Tweet media two
Tweet media three
Tweet media four
5
1
59
@croloris
Loris Cro ⚡
2 years
If you think this is true, then I'm sorry you never had the opportunity to work on interesting problems.
@ChristosMatskas
Christos Matskas - in training
2 years
Interviewer: What is a linked list? Interviewee: it’s a data structure used exclusively at job interviews. Interviewer: …silence
140
963
11K
4
4
60
@croloris
Loris Cro ⚡
2 years
Ziglibc: Sweeping out the rug from underneath C by @johnnymarler From Software You Can Love 2022
5
7
59
@croloris
Loris Cro ⚡
2 years
A lot of the lust for metaprogramming that devs feel is because they subconsciously hope to save themselves some typing. If you're an iron-smith you gotta get hammering, and if you're a software engineer you gotta get typing. Reserve metaprogramming for when it's truly needed.
12
4
59
@croloris
Loris Cro ⚡
2 years
Things for Software You Can Love are starting to come together :^) Also ticket sale ends in less than a week ().
Tweet media one
5
6
58
@croloris
Loris Cro ⚡
2 years
Not to complain, but most of "Zig needs better docs" comments are in fact "systems programming needs better learning materials" comments. Zig does need better docs, but pointers, stack vs heap, C ABI, etc, are not exactly concepts unique to Zig. That said, we'll get there :^)
11
3
58