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

> An easy example is NaN propagation, which can be nondeterministic in certain circumstances.

Which circumstances?


See for example

https://github.com/WebAssembly/design/issues/1463

In general, if NaN1 and NaN2 are different (there are 23 bits in a NaN that can be set to an arbitrary value, the NaN payload) then combining them isn’t deterministic. NaN1 + NaN2 might produce NaN1 or NaN2 depending on the processor model, instructions etc. IEEE754 only says that the result must be one of the two input NaNs (or at least it did last time I checked the standard.)

In practice, NaN payloads are seldomly used so it doesn’t matter much. NaN canonicalization involves transforming all NaNs to specific NaN values, and AFAIK it’s expensive because technically you need to check for NaN all the time.


Yarn is still great. npm is ok. pnpm is a little faster than Yarn but has less features.


Hardly a deal-breaker; presumably I can just pipe the output to less.


> this is just `display: grid` though

It’s also for flexbox

> and not for non-fixed width elements

What’s this mean? The biggest thing grid can’t do is wrapping; is that what you mean?


grid can wrap if you auto size columns


Can these be used as mixins? I looks like there’s only a single return value.

Edit: Looks like mixins are planned: https://github.com/w3c/csswg-drafts/issues/9350#issuecomment...


Yes good point, this is unfortunately just the first part of the proposal being implemented. Mixins are the next part.


He’s also got 55 direct reports


eBay was a great company until its McDonnell Douglas merger


Speak for yourself! I like buying F-18s off of eBay.


It’s all bloody Elon Musk’s fault.


> They are aiming to provide an "all-in-one" solution with the parser, transpiler, bundler etc all in one place. Which means they have perhaps too much work to do.

They seem to re-use quite a lot. I don’t think any of them, besides ESBuild, roll their own transpiler. For example, Farm uses SWC:

https://github.com/farm-fe/farm/blob/main/crates/toolkit/Car...


> The performance gains in the recent past have mostly been due to moving away from single-threaded JavaScript to multi-threaded compiled languages.

This is overly simplistic. Parcel had far better performance than Webpack before they added native code or threading.

Webpack remained slow because it didn’t have a good public/private interface for its plugins, so the changes that could be made were limited.

> Vite can adopt the partial bundling of Farm, but dispensing with its remaining JavaScript tools is a major breaking update.

Turbopack and Parcel both have excellent performance without any compromises to their bundling strategy. Vite skipping this likely just simplifies it’s architecture. Bundling creates an opportunity to be slow, but it doesn’t necessitate it.


Rolldown (Rollup compatible) for Vite which is written in Rust and still in active development.


> Svelte is an enormous productivity increase from SolidJS

Could you expand on this? SolidJS DX seems pretty great.


> they absolutely will not let you sign up for a room monthl

Ours seems to


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

Search: