been using it since yesterday, 100% based. the package manager is a bit broken, doesn't install stuff like puppeteer that require external binaries properly, but you can just use npm as normal. what I love is the little things like typescript support .env support etc. also it hasn't even been out a week. it'll get better in time.
>being a webshitter
lmao
thats not winning, anon
youre the equivalent of a janitor in an intel factory.
yeah, you work at intel, but you do janitorial work
There was a lot of competition, even from big companies like Microsoft and Adobe. They all lost.
3 weeks ago
Anonymous
i can only think about dart as javascript competitor. unfortunately it was just another js compiler. google should make dart as a native chrome language.
3 weeks ago
Anonymous
JScript? VBScript? Flash?
3 weeks ago
Anonymous
nobody wants to jump through hoops whenever a json request goes out and response comes in just to parse them back and forth into Lists and Maps
Ok boomer, most people don't use websites anymore they use apps. All popular apps are written in a platform native language using the platform native ui framework. >js as a backend
ayylmao
> they use apps. All popular apps are written in a platform native language
Yeah, like Discord, Tesla app, FB Messenger, MS Outlook and many other apps.
Not everyone uses JS, but JS won. > ayylmao
Gramps, do you still use PHP?
I just used it for a basic project that's related to JSDOM.
Holy shit, sub-2 second npm install and basically out-of-the-box debugger integration with its VSCode extension (you don't have to fiddle around with launch.json for Node). I don't even know how I can cope with Node from now on.
>Bun.file and Bun.write
i don't understand why this is a selling point. there is a file API in the browser. They should align themselves to that at all times instead of inventing their own interfaces, making the same mistakes that nodejs made.
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
fastest js engine so far with typescript support out of the box AND includes by default an .env reader, so it will read .env files and load them in memory automatically, while on deno and nodejs you need a package for it which is called env-env something
>so it will read .env files and load them in memory automatically
Why that would be a game changer feature?
Cant you just, you know, read a file from disk?
average JStranny doesn't know how to read and parse a basic key=value file from disk without importing a package that in turn imports 20 other packages that in turn import 500 other packages
>fastest JS engine >fastest package manager >fastest bundler >fastest test runner >fastest script runner >solves some small and big headaches like module resolution, which is a major JS fuckup >still compatible with the great majority of the existing codebase instead of being edgy and requiring everything to be different
If people don't simply migrate to Bun they're insane
>If people don't simply migrate to Bun they're insane
tried running my workplace's Node app on it a few hours ago but the latest jwt library doesn't even work on it
i was gonna dip my toes into webdev land with rust-wasm but bun seems cool. The one time I learned js was a mess because of all the dogshit frameworks and it left a sour taste in my mouth
>cant use it on windows without using WSL >cant get the linux VM going on using WSL because of the stupid winget package manager >cant access the package manager because i need to install an "App Installer" or whatever from the microft store >deleted the microsoft store months ago from my machine and can't reinstall it for some dumb reason
It's not WebKit, it's JavaScriptCore, which is the JavaScript engine that WebKit also uses.
Why would a developer need a windows machine?
Huh https://bun.sh/blog/bun-v1.0#bun-more-thing
>so it will read .env files and load them in memory automatically
Why that would be a game changer feature?
Cant you just, you know, read a file from disk?
Everyone in node uses the npm package "dotenv" for managing environment variables.
The logo is retarded.
Logo and name are alright, the best thing is the company name who create it.
supposedly bun's commands are familiar to anyone coming from npm so in a unix environment you can do something like this in your .aliasrc
alias
npm="bun"
but then again why not just run bun if you'll be running bun anyway
Check the archive.
been using it since yesterday, 100% based. the package manager is a bit broken, doesn't install stuff like puppeteer that require external binaries properly, but you can just use npm as normal. what I love is the little things like typescript support .env support etc. also it hasn't even been out a week. it'll get better in time.
It's been out for several years now. It didn't just pop into existence at version 1.0.
>It didn't just pop into existence at version 1.0
wrong
>Your thoughts on it?
My experience with it was pretty good actually, it does simplify tooling quite a lot. I hope it gets more mature with time.
Works great on my machine
Needs some polish but could see myself moving from Node completely
what is this and why should i car...
>javascript
nevermind
Cope & Seethe
Javascript won.
>being a webshitter
lmao
thats not winning, anon
youre the equivalent of a janitor in an intel factory.
yeah, you work at intel, but you do janitorial work
It's not about me, Javascript won. That's a fact.
You can seeth, you can cry, you can scream, that doesn't change that Javascript won.
>nobody competed
>javascript won
its the only way this piece of ad hoc enginerding could win anything
There was a lot of competition, even from big companies like Microsoft and Adobe. They all lost.
i can only think about dart as javascript competitor. unfortunately it was just another js compiler. google should make dart as a native chrome language.
JScript? VBScript? Flash?
nobody wants to jump through hoops whenever a json request goes out and response comes in just to parse them back and forth into Lists and Maps
Ok boomer, most people don't use websites anymore they use apps. All popular apps are written in a platform native language using the platform native ui framework.
>js as a backend
ayylmao
> they use apps. All popular apps are written in a platform native language
Yeah, like Discord, Tesla app, FB Messenger, MS Outlook and many other apps.
Not everyone uses JS, but JS won.
> ayylmao
Gramps, do you still use PHP?
real talk, why do you shill javascript? I hope you're getting paid... lmao
The world doesn't need another javascript runtime.
JavaScriptCore existed years before V8.
I just used it for a basic project that's related to JSDOM.
Holy shit, sub-2 second npm install and basically out-of-the-box debugger integration with its VSCode extension (you don't have to fiddle around with launch.json for Node). I don't even know how I can cope with Node from now on.
Also Bun.file and Bun.write for file I/O.
>Bun.file and Bun.write
i don't understand why this is a selling point. there is a file API in the browser. They should align themselves to that at all times instead of inventing their own interfaces, making the same mistakes that nodejs made.
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
Never even heard of it before
Can somebody explain bun to me? Is it a different js compiler or what exactly?
fastest js engine so far with typescript support out of the box AND includes by default an .env reader, so it will read .env files and load them in memory automatically, while on deno and nodejs you need a package for it which is called env-env something
>so it will read .env files and load them in memory automatically
Why that would be a game changer feature?
Cant you just, you know, read a file from disk?
average JStranny doesn't know how to read and parse a basic key=value file from disk without importing a package that in turn imports 20 other packages that in turn import 500 other packages
>fastest JS engine
>fastest package manager
>fastest bundler
>fastest test runner
>fastest script runner
>solves some small and big headaches like module resolution, which is a major JS fuckup
>still compatible with the great majority of the existing codebase instead of being edgy and requiring everything to be different
If people don't simply migrate to Bun they're insane
>If people don't simply migrate to Bun they're insane
tried running my workplace's Node app on it a few hours ago but the latest jwt library doesn't even work on it
>Bun 1.0 just got out recently. Your thoughts on it?
It's not even close to "stable and production ready" as the website claims.
Why?
t. Did a hello world with it
we did it ziggers!!
i was gonna dip my toes into webdev land with rust-wasm but bun seems cool. The one time I learned js was a mess because of all the dogshit frameworks and it left a sour taste in my mouth
>cant use it on windows without using WSL
>cant get the linux VM going on using WSL because of the stupid winget package manager
>cant access the package manager because i need to install an "App Installer" or whatever from the microft store
>deleted the microsoft store months ago from my machine and can't reinstall it for some dumb reason
node it is, then
imagine being a javascript dev and using windows. lol
I use what I get paid to use
you get paid to do your work however it takes
not for stealing office hours to play your windows exclusive ero gaymes
My company provides a device to work on and an environment to work in.
>M$nagger not properly supported
Based, stay on your containment OS
more gay jeetscript shit no thanks
Not written in Rust, no reason to waste time on it. I'll wait for a Bun alternative written in Rust to arise
I tried it, it just freezes during Axios get call. But my usage was really simple, I replaced it with fetch() calls and seems to work well.
they should've waited longer for a 1.0 release
>javascript devs got tired of reinventing frameworks so they reinvented the runtime
Doesnt bun just use the WebKit runtime instead of v8 which is used by chrome?
that's fine at all but nobody uses js for speed anyway
im more interested in built-in tools and features
That is the engine, not the runtime.
It's not WebKit, it's JavaScriptCore, which is the JavaScript engine that WebKit also uses.
Huh https://bun.sh/blog/bun-v1.0#bun-more-thing
Everyone in node uses the npm package "dotenv" for managing environment variables.
Logo and name are alright, the best thing is the company name who create it.
Meant to reply to
it shit, im not using anything with that gay of a logo, hope their office gets flooded
>hope their office gets flooded
you mean the neckbeards basement
>no Windows support
it's shit
Why would a developer need a windows machine?
I have no clue about web ecosystem but I remember yarn was the new hot shit that overtook npm?
>yarn was the new hot shit that overtook npm?
a long time ago it was, granpa
fuck i was meant to add if npm managed to absorb all the good shit from yarn is there a way to alias npm commands to use bun under the hood?
supposedly bun's commands are familiar to anyone coming from npm so in a unix environment you can do something like this in your .aliasrc
alias
npm="bun"
but then again why not just run bun if you'll be running bun anyway
I am more impressed by the fact such big projects are already being written in Zig despite it being at version 0.11
bun moments away from becoming a build tool option in vercel
The logo is retarded.
put more attention to zig, which is good.
zig good
or zig bad?
zig is good but inmature for now. this place actually likes it.
thank you sir