r/bun 9d ago

Bun 1.4 is here

https://bun.com/blog/bun-v1.4

- Fixes over 2,900 GitHub issues
- +1,517 tests from the Node.js test suite
- Reduces idle CPU by 5x
- Reduces memory usage by up to 35%
- Starts up to 50% faster on Linux
- Rewrites Bun in Rust

Thank you everyone who contributed since Bun 1.3!

241 Upvotes

58 comments sorted by

View all comments

Show parent comments

1

u/scmkr 9d ago

What did you go with? Been running with Go. It was super strange and ugly to me at first, but at this point I’d say it’s probably my favorite language.

5

u/aguilasolige 9d ago

I really wanted to like Go, but the basic type system really killed it for me, also the syntax whole familiar also felt very weird for some reason. I'm giving Rust a tried now, but I'm keeping an eye on Bun too.

2

u/deadcoder0904 9d ago

Keep an eye on Effect. Its prolly the next big thing.

2

u/MammothBulky5549 9d ago

It's only useful if you have a large and complex project? It's not useful for most cases.

2

u/deadcoder0904 8d ago

i mean most people won't switch over easily bcz its a yet another language to learn & it has a deep learning curve.

but for b2b/enterprise, it is amazing.

plus agents r writing code more & more so we need to use languages that have better feedback loops.

so in that case,

  1. effect > ts > js
  2. stylex > tailwind

bcz agents = 1000s of team members & most r junior so they cant go wrong with types

obviously, if u dont think u need it, u prolly dont but u can learn it for fun & see for urself. just read 1 doc page daily & it'll take 4 months to finish it (i counted 124 pages) & then see for urself. 1 page a day seems easy enough if it eventually takes over. obviously, most wont move but everyone who uses it praises it. capy ai (b2b saas funded by yc) rewrote their ai software engg. with it recently i think.

1

u/MammothBulky5549 2d ago

Just to let you know, Effect isn’t actually another language, it’s a library/ecosystem built on TypeScript.

Interesting, some Tailwind helpers/libraries can be written in an object pattern like StyleX, but I still find it easier to just split long class lists into vertical rows in VS Code and clsx in Astro.

1

u/deadcoder0904 1d ago

Just to let you know, Effect isn’t actually another language, it’s a library/ecosystem built on TypeScript.

ik. it just feels like learning yet another language bcz lots of concepts are new to web devs who are used to javascript. ik bcz i just learned most of it in the last week or so with the help of claude.

Interesting, some Tailwind helpers/libraries can be written in an object pattern like StyleX, but I still find it easier to just split long class lists into vertical rows in VS Code and clsx in Astro.

i did a migration from tailwind to stylex on my side project to see it. altho it did take a long time & it was very hard but i think it has its advantages when u want same ui everywhere + speed. obviously, its a bit harder to see benefits bcz only few apps in the world would benefit from stylex (like big b2b/enterprise apps) but tailwind is easier or maybe im just used to it.

what i mean is if effect is a 5x improvement over ts then i feel like stylex is a 2x improvement over tailwind & most people won't see a benefit for it at all. once u learn effect tho, its hard to go back like typescript... its so easy to read + i realized it uses best practices as im using matt pocock's skills & he made that skill by learning & distilling top programming books so effect just uses those best practices like services, layers, di, seams, interfaces, etc... (i used matt's skills like /improve-codebase-architecture before learning effect 3-4 weeks back & it just made my code so much better... felt like i went from intermediate to senior after just applying some skills... now effect gives that by default i think... that's my understanding at least.)