I AM USING VLANG IN MY NEXT PROJECTS
In the recent decade a new programming language appears at least every six month, so usually I skip such news automatically considering that we already have quite a zoo of languages for any purpose (or lack of). From my perspective current state of the market is simple: there is one true general purpose language - C, and a few of industry specific defaults like JS, Python, Java, Go, etc. So first time I’ve heard about the Vlang I dissmised it, but when someone said that “V is actual C” it got my interest..
A TAKE ON GO STYLE ERROR HANDLING IN JAVASCRIPT
Almost everyone who uses JavaScript daily knows that try-catch can be painful to deal with, especially when you have more than one error to handle.
Most proposed solutions are tryng to copy Golang’s approach - which handles everything as return values. It is, among other things, is a great feature of Go, but JS is completely different language (duh) and I think we can do better than a copy-paste from Go.
GOLANG IN NODEJS APPLICATIONS: PART 3 (WAILS)
Previously I wrote about leveraging Golang through FFI, NAPI and Web Assembly. Now it’s time to talk about an existing solution that provides the best of both worlds: An electron alternative for Go - Wails
LEVERAGING GOLANG IN NODEJS APPLICATIONS: PART 2 (WASM)
In a previous post, I demonstrated how to leverage Go’s CGO capabilities to interact with JavaScript runtimes. Now, I’ll show how to compile a Go library into WebAssembly format and integrate it into your JavaScript applications.
MY JUPYTER NOTEBOOKS SETUP
I’ve been working with machine learning models for a while now, but recent trends in the field have made me realize the need to deepen my understanding and skills. I’ve decided to dedicate this month to diving into various machine learning algorithms and techniques.
Workining on my project I’ve realized that while Python’s rapid prototyping capabilities make it a popular choice for many, the reality is that production environments often demand languages like JavaScript or Go.
BUN.JS IS INDEED FASTER
I have a dirty secret - I use Bun instead of NodeJS for my own projects. I use it because of a better developer experience and other good features. I always take someone’s claims about better performance with a grain of salt. The benchmarks and any other comparations are as much a marketing tool as anything else, especially when you don’t have time to check those claims yourself. In my case I had a chance to compare Bun performace myself and I can confirm - Bun is faster than NodeJS.
LEVERAGING GOLANG IN NODEJS APPLICATIONS: PART 1 (NAPI)
Ask Google about Go, and you’d likely see, “It’s a simple, reliable language built for portability and efficient concurrency.” If you ask me, I’ll tell you that most distinctive characteristic of Go is the develoment velocty which is, in most cases, as good as velocity on JS or Python projects.
SOMETHING SIMPLE ABOUT GIT YOU DON'T USE
Want to deploy your code without all the complicated tools? You can do it with just Git and SSH! There are lots of guides online for using CI/CD pipelines, Docker, and Kubernetes, but sometimes the simplest solution is the best.
HELLO WORLD
I want everything in one place: blog, portfolio, code, package repository…