HNHacker News
TopNewBestAskShowJobs

ianertson

37 karma · joined October 24, 2017

I'm a self-employed digital monad & developer. On my spare time I mostly work on my compiler or other fun projects.

Born and raised in Sweden.

submissionscomments
ianertson··on Show HN: Scripting language inspired by JavaScript and GLSL
Thank you!! Indeed, it's really fun actually
ianertson··on Show HN: Scripting language inspired by JavaScript and GLSL
It's definitely not a language that needs to be created. I was just in the need for a scripting language in my game engine, and I wanted something that felt like GLSL.
ianertson··on Show HN: Scripting language inspired by JavaScript and GLSL
Well, I'm going to use it for one of my personal projects. I wanted a scripting language for a game engine that I'm working on, and wanted something that felt like GLSL
ianertson··on Show HN: A simple website for my JavaScript bundler
Right, I'll have to fix this too
ianertson··on Show HN: A simple website for my JavaScript bundler
Yes, this is because Im building it in "dev" for FJB as well. The circumstances should be equal for all benchmarks.
ianertson··on Show HN: A simple website for my JavaScript bundler
Sure, but it was just an example of what kind of things FJB is doing to the code
ianertson··on Show HN: A simple website for my JavaScript bundler
What I mean with "adapts the code through static analysis" is:

1. Finds dead code and removes it 2. It converts nodejs code that isn't compatible with the browser into browser code 2. It converts JS code that isn't compatible with nodejs to nodejs code

It tries to always make things work both in nodejs and browser js.

One example is the optional chain syntax which doesn't work in nodejs but works in the browser. FJB converts it to something that works everywhere.

ianertson··on Show HN: A simple website for my JavaScript bundler
I'm planning to make the typescript support an optional feature, so that one could integrate something else.

We will see.

Anyhow, appreciate your feedback.

ianertson··on Show HN: A simple website for my JavaScript bundler
Thanks for the tip, will make sure to fix this
ianertson··on Show HN: A simple website for my JavaScript bundler
Hey!! Great to see you here ;)

Yes that docs page is actually auto generated from the github README, and it doesn't convert the links to anything appropriate

ianertson··on JavaScript Minification Benchmarks
I also made some benchmarks, including my own bundler:

https://www.github.com/sebbekarlsson/fjb/tree/master/benchma...

ianertson··on Show HN: JavaScript / TS State management library
Basically, I've been using redux for a while. And I wanted to have some fun and try and implement my own state management library.

Just wanted some feedback, looking forward to see what you think

ianertson··on Show HN: Create single-page applications without JavaScript
How exactly is it faking different pages using anchors? I read your code but I can't find the logic behind it