Hacker Newsnew | past | comments | ask | show | jobs | submit | rahkiin's commentslogin

Can you force a non-parallel build of those rust crates to make the comparison fairer?

Nice idea! I was only thinking about "how could I make Zig more efficient", I didn't even consider making Rust more similar to Zig.

I added a Python script wrapping rustc which serializes all rustc invocations for bun_* crates; you can find the recoridng at [1]. Turns out it only increased the build by 1 minute! So clearly my intuitition that it was just crate parallelism was not correct.

One more confounding factor though is that rustc is parallelised while Zig's compiler is not (yet). So it's still possible that might be the reason.

[1] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...


this! - the reason Zig defaults to one semantic analysis thread is due to current (to be improved) limitations; some ideas for Zig also will require one compilation unit - the restricted function pointers proposal being a good example: https://github.com/ziglang/zig/issues/23367

The bun team tried to parallelize Zig's semantic analysis a while back - and it DID compile about 4x as fast... YET the builds were no longer deterministic, which is a hard requirement for lots of things. More effort will need to be spent here than naively adding a thread pool. Hopefully Zig's Sema.zig gets faster, but Rust is also super slow at compiling and needs to improve. Oh - one last thing to note, Zig has very fast debug compilation and incremental compilation, it's a real nice thing to work with that you simply can't approach in most other languages right now.


> The bun team tried to parallelize Zig's semantic analysis a while back - and it DID compile about 4x as fast...

I actually collected a build with multi-threading turned on [1]. It helped quite a bit, cutting the Zig object time from 7m49s to 4m05s. But because of the reason you mentioned (and the post was already so long!) I decided not to bring it up.

> Oh - one last thing to note, Zig has very fast debug compilation and incremental compilation, it's a real nice thing to work with that you simply can't approach in most other languages right now.

Yes, in fact I also tested just running bun run build / bun run build:release and captured traces for both! The clean release build took 3m36s for Zig versus 5m50s for Rust [2][3]. Clean debug was closer: 3m07s versus 3m27s [4][5].

I also tried incremental debug builds: adding a comment to output.zig / output.rs took 48.6s / 65.4s to rebuild. Ordinary developer builds certainly gave a different picture from CI.

[1] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...

[2] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...

[3] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...

[4] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...

[5] https://buildprof.lalitm.com/#!/?url=https%3A%2F%2Fblogexamp...


The grass is always greener for some problem somewhere.

Try doing what you write on a (corporate) Windows machine with NTFS and file filters


Yes indeed, that will be a much better road to a durable, maintainable, secure and agile product than focusing on product goals in a higher level language with a framework.

When will we start using LLMs to write my web backend directly in UEFI and assembler? (Although uefi is an OS, so maybe more fair to exit the boot services)


Yes, by running models locally


A 2022 Dell laptop with windows 11 isn’t doing great in 2026 though


Or send in a PR for gitlab/… support?


They did not want that and discouraged it.


This is a genuinely interesting topic, and as we say in the blog post:

> Together, we’re building a comprehensive package registry to serve the Swift community’s evolving needs.

The great thing about a registry is that it doesn't care where the original source is hosted. We will be moving away from that model completely as we work towards this.


That is good to hear :-)


Merging a PR with Apple is harder than merging into the left side of a six-lane highway during rush hour.


Is it? What's difficult about it? I see PRs from contributors outside Apple all the time in https://github.com/swiftlang/


Do I dare mention the family guy way to achieve this? :P


I’d argue they both admin that Linux servers are the target for a lot of applications to run on. Not to develop on.


Tesla is not marked as a gatekeeper by the EU and thus the law does not apply.


I’m really interested how you got these numbers. Using some of the daycare providers in our most expensive city (Amsterdam) with an obscene collective income (250k) with 5 full days of daycare (which not many parents even want) I get net 1300 per child.

For 3 days with more normal incomes it is closer to 700-800 euros


Adyen has resellers. Mollie is one example, they do have. Get Started and no lower limit. These smaller parties rely on the bank license of Adyen


Are you sure about that? From Mollie's webiste:

Mollie B.V. is licensed and registered as an electronic money institution with the Dutch Central Bank (relationship number: F0038). Mollie UK Ltd is licensed and registered with the Financial Conduct Authority as a payment institution in the UK (FRN: 977968).


Lightspeed is powered by Adyen and serves smaller businesses.

https://www.adyen.com/knowledge-hub/lightspeed-integrated-pa...


Seems to be focused on retail / POS, not online payments. Though they do have eCommerce page and even API:

https://www.lightspeedhq.com/ecom/

https://www.lightspeedhq.com/pos/retail/api/


Mollie also doesn't want small businesses, unfortunately. (We were rejected as too small.)


Matches my experience. They didn’t state any reason in my case, though.


Really? Must be a recent thing then..? I've used them for all sorts of small (and not so small) things.


Mollie doesn't resell Adyen, nor does it rely on Adyen's banking license.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: