Earlier quoted context omitted.
It matters to the guy paying the AWS bill... or anyone who cares about their ecological impact. We have a duty to utilize resources as efficiently as possible, no different than anyone else. Building every new project on top of a mountain of abstraction that pushes resource utilization to few orders of magnitude beyond what is actually necessary to do the job is financially stupid at the least and socially irresponsi…
For apps that are not successful, the entire output is waste, and the majority of the emissions burden is carbon output of the developers. For work of speculative value (most startups...), optimising for dev efficiency is IMHO the right thing to do.
Deno vs. Bun performance is rigged
191–196 of 196 posts
Re: Deno vs. Bun performance is rigged
#192Earlier quoted context omitted.
Javascript isn't Java. Javascript follows ECMAScript, which also isn't Java. And ECMAScript isn't a language.
I don't know if they were making a JS joke but I have legitimately had newer programmers tell me that Java is an interpreted language because it compiles to a bytecode language which is interpreted by the JVM. Inversely I've had people argue that JS and Python are compiled languages because their interpreters convert statements into bytecode before executing them. When someone starts trying to argue those points I fi…
And I'm not even sure if the above is 100% accurate.
Re: Deno vs. Bun performance is rigged
#193Earlier quoted context omitted.
Looks like Javascript to me https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast...
it is! people who love bashing JavaScript always come up with this line that just-js "is not JavaScript". ¯\_(ツ)_/¯
More details in this thread: https://github.com/just-js/just/issues/5
Re: Deno vs. Bun performance is rigged
#194Earlier quoted context omitted.
But then you need twice the initial app memory. This can be substantial for larger apps. There are definitely benefits of using multiple cores at once on a single app.
Copy on write fork mitigates some of that.
Re: Deno vs. Bun performance is rigged
#195Gotta mention https://www.techempower.com/benchmarks/#section=data-r21&tes... is these threads always.
...and the fastest server is javascript. https://github.com/just-js/just Not that you should choose it over node or bun.sh or deno. I look forward to seeing where bun.sh ends up on the chart. Currently (well, as of the last benchmark, in July) deno is 0.9%-1.6% of the speed of the fastest options, while faster node options are around 20-40%.
Would love to read what is going on here / what just is doing so much better than deno. I think deno is using a pure js server in that benchmark (vs it's newest/unstable ffi-based one) but, even still, 1% is awful.
Re: Deno vs. Bun performance is rigged
#196Earlier quoted context omitted.
You'd be surprised. I've had countless battles with (junior-wannabe-senior) devs who wanted to use a different framework simply because it is "fast". When you point out that this project will be a huge success if it has 10 req/s, the usual answer is "well it doesn't hurt", when it truth it does - if nothing else, because it diverts discussion from important matters (like consistency of the company's tech stack) to ir…
I've thought of the fastapi name as that it's fast to get going with rather than speed, it's python after all.