360 IT Check #50 - Bun vs Node.js vs Deno, A Free Alternative To GPT-3, And More!
Senior Content Marketer & Technical Expert
Lead Generation Specialist
360° IT Check
Tauri is a Rust-based toolkit allowing developers to build software for desktops operating systems. The apps that one builds with the toolkit are much, much smaller than the apps built with, e.g., Electron.
Smaller app bundles are something we want to highlight. Generally, the smaller the apps are, the faster they may be (a bit of a simplification). The smaller they are, the less carbon their transmission emits.
The project co-founder prepared a table comparing the environmental impact of transporting apps of different sizes across the internet. We will not comment the values any further. We will only let you know, that on average, apps built using Electron.js are roughly 100-200 Mb large.
First on the list is the Nokia 8210 4G, an upgraded version of the same model released in 1999. It's your classic Nokia phone with access to 4g and probably an enhanced version of Snake. The main selling point is the long-forgotten convenience of weeks of standby battery time.
Next on the list is one for the audiophiles, the Nokia 5710 XpressAudio is an audio-centric phone with dedicated audio controls, enhanced speakers, and the most intriguing part, built-in charging for wireless earbuds that come with the phone. For the active individual, this might be much more convenient to carry on your arm than a massive smartphone.
Last on the list is probably the most sought-after phone style if you were around during the early 2000s. Yes, that's right, the flip phone is back. It looks to be designed for the over 50 crowd, which seems about right on the nostalgia timeline. It has a big display, hearing aid compatibility, enhanced accessibility features, and big buttons to provide a seamless experience for those who remember the Y2K scare.
The Bottom Line
Upgrading some solid designs with new tech is not a bad strategy. Nokia did make some great phones in the past. A few years ago, Nokia released an upgraded 3310, which everyone knows will survive us all. That single phone was also a catalyst for customizing your handheld device with various custom faceplates you can change on your 3310.
There is a movement, albeit small, to break away from the smartphone. With the expanded creepiness of tracking tech, data brokers, and notification overload, some would prefer a phone that just works and doesn't need to be charged 3 times a day. So, for those who wish to simplify their phone, these options don't look half bad.
You will be able to use them as remote computers, thanks to Apple Remote Desktop. The M1 instances are available in two regions, only: US East (N. Virginia) and US West (Oregon). “[T]here is a minimum charge of 24 hours for reserving a dedicated host. […] In the two preview Regions, the on-demand price is $0.6498 per hour.”
The Bottom Line
The Apple M1 instances are a great way to develop for the Apple platforms without the costly upfront investment of purchasing their device. As the Apple policy stands, you may not develop apps for the ecosystem without opting into it, fully or partially. At the very least, it’s not the easiest task.
Connecting to a Mac that you do not have to purchase is a perfect solution. One does not have to make a relatively large investment, and still develop iOS, or macOS apps, in peace.
Bun vs Node.js vs Deno
Apart from that, the dominating language in the codebase is Zig; a fresh, low level programming language. The major difference between Zig and other programming languages is the lack of the “hidden control flow”, and no “hidden allocations” while remaining a simple language (as project maintainers claim). If you are using C++/C, you may try the new language as a “drop-in C/C++ compiler.”
Watch a video by Fireship for a quick rundown of Bun.
The Bottom Line
Bun authors had three things in mind:
“New levels of performance”
Being a complete tool
The two first goals seem to be achieved. If we are to believe benchmarks, then we have a true beast on our hands. Bun is few times faster than Node or Deno.
It also seems to have batteries included. It has got:
Web APIs like fetch, WebSocket, and ReadableStream are built-in
node_modules bun implements Node.js' module resolution algorithm, so you can use npm packages in bun.js. ESM and CommonJS are supported, but Bun internally uses ESM.
In bun.js, every file is transpiled. TypeScript & JSX just work.
bun supports "paths", "jsxImportSource"and more from tsconfig.json files
Bun.Transpiler bun's JSX & TypeScript transpiler is available as an API in Bun.js
use the fastest system calls available with Bun.write to write, copy, pipe, send and clone files.
bun.js automatically loads environment variables from .env files. No more require("dotenv").config()
bun ships with a fast SQLite3 client built-in bun:sqlite
Node-API bun.js implements most of Node-API (N-API). Many Node.js native modules just work.
node:fs node:path bun.js natively supports a growing list of Node.js core modules along with globals like Buffer and process.
We have a fascinating innovation on our hands, and we can’t wait to see how the project will advance.
We will release our own AI model with blackjack and better models
GPT-3 is an impressive feature of modern data science. Just watch the video below:
To recuperate the funds required to create the project, OpenAI teamed up with, e.g., Microsoft, to create commercial projects. They do not share the details on what data was used to train the model, or the code.
The world of AI is becoming deeply entrenched and divided. The biggest enterprises are developing their models, with others not having any access to whatever they develop. BLOOM is a direct answer to that, being hosted on a publicly accessible website - and available for free.
Furthermore, environmental concerns are not an issue. The supercomputer used to train the model mostly used nuclear energy, and the heat generated was reused for heating internal areas in the facility to offset the impact.
The project, financed by the French government, is a phenomenal answer to Google’s LaMDA and GPT-3. It’s free, and we know what data was used to train the model. Furthermore, in the cases of Arabic and Spanish, it’s the first model of this size.
360° IT Check is a weekly publication where we bring you the latest and greatest in the world of tech. We cover topics like emerging technologies & frameworks, news about innovative startups, and other topics which affect the world of tech directly or indirectly.