Better HN
topnewbestaskshowjobs
Log inSign up

norman784

828 karma · joined May 12, 2015 (11y ago) · 414 submissions

Submissions

comment 1w ago · link · parent

Note that is so, because macros can have side effects, that was an oversight of Rust design, not having a way to have pure and impure procmacros (macro rules are pure)

comment 2w ago · link · parent

AFAIK he said that Ghostty was like a technical demo of libghostty

comment 2w ago · link · parent

I was thinking about this problem and found a while ago that Unison lang has a cool concept, I recommend you give it a read [0].

- [0] https://www.unison-lang.org/docs/the-big-idea/

comment 3w ago · link · parent

I suppose it is just the convenience of having an opinionated app that works with agents out of the box, tmux could be more powerful but similar to vim vs vscode, you need to tune it in.

comment 3w ago · link · parent

> The amount of great games under $20 that you can get these days is overwhelming

I think that's the problem, there are too many to choose from, where you end up overwhelmed and ends up choosing none.

comment 1mo ago · link · parent

tsrs also has an LSP, so will be interesting to see how much memory it consumes vs tsgo.

comment 1mo ago · link · parent

I'm tired of all the new tools that comes out every day, but I would say, this is basically the Vite team and if they implement it with Vite+, then I'm all for it, less decisions about tooling to be made, one config file, etc.

comment 1mo ago · link · parent

Windows and Linux do the same, they store the data in the user home folder. So not sure if your argument stands, maybe Android is different in that regard, but also it's easier to back up the data this way.

comment 1mo ago · link · parent

> Worse compatibility with the millions of Android apps already out there.

Most of the apps on Android and iOS aren't necessarily useful.

comment 1mo ago · link · parent

The only reason to choose Node is because it's boring, is a long lived project and I think it will outlive Bun and Deno.

comment 1mo ago · link · parent

With Vue, you require each library you use to be Vue specific, Nuxt UI, Vuetify, etc, while Svelte works seamlessly with vanilla JS libraries, also Svelte feels more like vanilla HTML/CSS/JS with some sparkles over it.

comment 1mo ago · link · parent

Other advantages of Svelte over React/Vue is that it does not require a Svelte specific library or wrapper, you can use vanilla JS libraries and it works seamlessly. I consider that as plus, you can old good old Chart.js, Ag-grid, etc without any wrapper, I tried some libraries with React/Vue that had wrappers for multiple frameworks, and most of them were painful, because each framework/library has their way to do things that collides with them, while Svelte is basically vanilla web tech with some sparkles over it.

comment 2mo ago · link · parent

Yeah, but it confuses me, I read left to right, so if they put GPT-6 and $0.20 first, I would assume that's the new pricing, they should make it clear, not confusing.

comment 2mo ago · link · parent

Yeah, how they put, is confusing to me, they should have put that table instead of what they have right now in the article.

comment 2mo ago · link · parent

Is GPT-6 50% cheaper?

> GPT‑6 Luna vs. GPT‑5.6 Luna | $0.20 → $0.10 | $1.20 → $0.50 | 50% cheaper

I can read it as follows (below), meaning that GPT-5.6 is 50% cheaper.

- GPT-6 = $0.20

- GPT-5.6 = $0.10

comment 2mo ago · link · parent

I would think about if it was at least Go or Rust, but yet another interpreted language built on top of other abstractions? No thanks, I had my fair share of Xamarin, React Native, Electron, Tauri and TBH building native is the best (more work, sure, but at least when you have bugs or issues, it's easier to find solutions), with abstractions you need to deal with bugs on each layer.

Also in the era of AI, sharing native code is easier than ever, just compile down to WASM for the web and for the other binary.

comment 2mo ago · link · parent

And different price tag

comment 2mo ago · link · parent

Not only Lisp, but Javascript and Ruby (AKA dynamic languages) devs also rely heavily in REPLs, for me at least the reason is that you don't know what value a variable holts, so you need to inspect them somehow, with typed languages you have less reasons to reach such tool.

comment 2mo ago · link · parent

I got to the conclusion that boring is good enough, for me NPM is the best tool, is not that fast, but the installation speed is not that bad, considering how many times I need to run from scratch, the difference does not matter, it is stable and it's the default Node package manager, so I don't need to bother to install in CI any other tool, etc. My experience for long living projects is to stick with the defaults, because in a few years third party tools will change, it happen to my team with Yarn classic, now that we are with vanilla Node and NPM no worries, same with 3rd party dependencies, just use as less as possible.

comment 3mo ago · link · parent

Interesting, thanks for sharing.

comment 3mo ago · link · parent

So weird, launching M6 so silently.

comment 3mo ago · link · parent

Wasn’t their newer text editor/IDE written in Rust? I forgot how it was called and also didn’t followed up with their development.

comment 3mo ago · link · parent

In 2018 when Windows and macOS used 2GB just after boot, I tried Arch Linux and with a neat window manager (dwm) a clean boot was using just 300MB, that means our OS is wasting just too much RAM for nothing. This year with Fedora Atomic 44 + Niri is using 800MB, so I can give a second life to my old device from 2013.

comment 3mo ago · link · parent

Did you check if the resources were consumed by the LSP or Zed? Also there was a Zed fork without the AI stuff, not sure if is a hard fork or not and if is still maintained (IIRC wasnt hosted on Github)

comment 3mo ago · link · parent

For me, what the browser needs it's a good DX to build components, I kind of like Svelte and Vue in that regard, where your CSS, HTML and JS lives all together.

Writing a CSS file with the time will start growing and at some point will be very hard to know what to keep and what to delete, I think this is the reason why tailwind became popular, because it keep only the used rules, now the downside is that now your html elements has ton of classes.

comment 3mo ago · link · parent

The issue with Rust proc macros is that they are impure, so even with incremental compilation, you need to expand them every time.

comment 3mo ago · link · parent

Not OP, but AFAIK one big issue with FIL-C it does the checks at runtime, adding overhead, don't quote me on this, but IIRC is around 20% slower.

comment 4mo ago · link · parent

AFAIK the high end chips are made in Taiwan, that's not the same. Also there was an export control, so ASML couldn't sell the latest equipment to China.

comment 4mo ago · link · parent

How important is stable ABI for projects like Bun? I think it only matters if you are building a shared library.
12345
14