Better HN
topnewbestaskshowjobs
Log inSign up

ianertson

37 karma · joined Oct 24, 2017 (9y ago) · 30 submissions

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.

Submissions

comment 3y ago · link · parent

Thank you!! Indeed, it's really fun actually

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

4.

Show HN: Scripting language inspired by JavaScript and GLSL(github.com ↗)

29 points · by ianertson · 3y ago · 6 comments

comment 5y ago · link · parent

Right, I'll have to fix this too

comment 5y ago · link · parent

Yes, this is because Im building it in "dev" for FJB as well. The circumstances should be equal for all benchmarks.

comment 5y ago · link · parent

Sure, but it was just an example of what kind of things FJB is doing to the code

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Thanks for the tip, will make sure to fix this

comment 5y ago · link · parent

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

12.

Show HN: A simple website for my JavaScript bundler(fjbundler.com ↗)

55 points · by ianertson · 5y ago · 22 comments

comment 5y ago · link · parent

I also made some benchmarks, including my own bundler:

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

How exactly is it faking different pages using anchors? I read your code but I can't find the logic behind it

16.

Show HN: JavaScript / TS State management library(github.com ↗)

4 points · by ianertson · 6y ago · 1 comment

17.

Show HN: I Made a Templating Language(github.com ↗)

2 points · by ianertson · 6y ago · 1 comment

18.

I made a C-like scripting language(github.com ↗)

1 points · by ianertson · 6y ago · discuss

19.

Proposal for new 3D model format(github.com ↗)

1 points · by ianertson · 7y ago · discuss

20.

Writing pong in C (time-lapse)(youtu.be ↗)

1 points · by ianertson · 7y ago · discuss

21.

Using GitHub as a Deployment Tool(youtu.be ↗)

1 points · by ianertson · 7y ago · discuss

22.

Plugin/Package manager like NPM but for ViM(imgur.com ↗)

1 points · by ianertson · 7y ago · discuss

23.

Swipe and find your new job, like Tinder(empler.app ↗)

1 points · by ianertson · 8y ago · discuss

24.

Create native popups/windows using HTML, JavaScript & CSS(github.com ↗)

1 points · by ianertson · 8y ago · discuss

25.

Subscribe on DOM elements on the WEB, get notified when something changes(scrape.host ↗)

1 points · by ianertson · 8y ago · discuss