DEV Community

Isaac xu
Isaac xu

Posted on • Originally published at hashnode.com

freash look of ‘BUN’

A few days back, I found a new javasrcipt Runtime ‘BUN’.It is very promising, so I’m going to make a overview about it.

Image description

What is BUN ?
Bun is a baby javascript runtime created by Jarred Sumner a few days ago. It is build on javascriptcore from WebKit. Not like Bun, other runtime like node and Deno are built on V8 .Bun also have the potensial to replace node.js and become the number one runtime.

Why BUN
Bun can do almost everything node.js can do the only difference is Bun is faster than node.js. Being fast is pretty cool but the best part is that Bun is a all-in-one runtime It has a native module bundler which means that you can get rid of tools like webpack and also have a native transpiler that can allow you to write typescript and JSX out of the box .It also have the abilities to download most npm 20times fast.another fantastic feature of Bun that save you from installing DoteEVN everytime you open a project because Bun load those evnironment automatically.

Image description

How fast is BUN
Bun is the fastest Javascript runtime. Way faster than the old Javascript runtimes node.js and Deno.We are talking about massive here just look at the graph down below

Image description

It is about 3 times faster when server rendering React and has a big difference in the other two as well.

Installation
To install Bun on your PC go to your terminal and type

curl https://bun.sh/install | bash

Thank you to read my first blog.I’m a 14 year old programmer That just started to write blog.Please forgive me if I said anything wrong and if you have any suggest please comment down below or DM me on twitter twitter.com/Isaacxu18 Thank you

Top comments (2)

Collapse
 
aeryle profile image
Aeryle • Edited

First of all, welcome to the blogger side! A new blogger is always a welcome thing.
Now with that said, I would like to do some remarks related to your post.
To start with, the formatting. It seems that you tried to use images but the file names are displayed rather than the image. You wrote everything as a normal paragraph, I would recommend adding some spice to your blog by using what markdown has to offer, like codeblocks or titles.
Also the typos, your article would gain alot in quality if you proofread it before, at least once. If english is not your main language however, you can ignore this point and improve over time.
Outside of those points, that was an interesting read and I hope to see more of your blogs.
Edit: ignore my remark about the images, it appears to be all good now

Collapse
 
arvigeus profile image
Nikolay Stoynov

Welcome aboard and enjoy your stay!

Your article was nice read in the morning.