Show newer

re: browser engines 

@aescling technically it is not “tail call optimization” but “proper tail calls”, meaning that tail calls can’t overflow the stack, but they don’t have to be any faster than other calls (some complain PTC is actually harder to optimize)

re: browser engines 

@wallhackio proper tail calls are only a thing in strict mode, which can't be set in functions which take default parameters, so i threw an IIFE around it

re: browser engines 

@jamey i’d be very interested in <bun.sh/>, which is built on JavaScriptCore instead of V8, because i do think JSC is generally the better runtime (well, and i don’t like Google)

but unfortunately i don’t care at all about the kind of development they are targeting and my needs are much better served by Deno

re: browser engines 

@jamey no, i mean webkit (well, JavaScriptCore)

webkit has implemented PTC for ages: webkit.org/blog/6240/ecmascrip

chrome implemented in V8, but refused to ship, and eventually removed: v8.dev/blog/modern-javascript#

firefox bug is very sleepy: bugzilla.mozilla.org/show_bug.

more of a summary here: mgmarlow.com/words/2021-03-27-

@wallhackio pivot to ruby, then you can have an ecosystem which is neither large nor good

re: browser engines 

; { const sum = (() => {"use strict"; return (x,i=0) => x === 0 ? i+x : sum(x-1,i+x)})(); sum(5000000) }

Works On My Machine

Show thread

browser engines 

webkit is still the only one which lets you do proper functional programming, huh

tech culture 

heaven forbid one of those implementations be open source because then it will within a year be held together by the struggling efforts of an unrecognized generally good queer weirdo despite the fact that the original code was written by a friend of a literal nazi, and then it becomes impossible to tell whether supporting it is good or not

Show thread

tech culture 

“i’m so genius i made a thing which thousands of people use” no, you’re trash and your thing is trash, you’re just popular

Show thread

tech culture 

it’s very depressing working in a field full of shit standards which only exist because some startup bro spent like a weekend throwing it together and it took off on twitter and now there are five interoperable implementations which no competitor will ever be able to usurp

Show thread

tech culture 

every day i curse the fact that tech does not have any mechanism for resource sharing beyond being active on some socially regressive forum or visibly working for an exploitative company or being popular on twitter

“scripting languages” 

the language discourse has somewhat faded (not entirely tho, as evidenced by the whole “typescript is better than javascript” crowd) but the “real programmers don’t write scripts they develop Frameworks and build Applications” sentiment absolutely hasn’t

Show thread

“scripting languages” 

remember when tech culture went on a war against these, thus rendering itself incapable of building a website without importing 15,000 packages

prrgrrmmng 

trying to see what Lady is working on (not published to git) by seeing what Lady is working on (published to git)

prrgrrmmng 

can’t believe i’m spending my saturday optimizing a make·file

prrgrrmmng 

hope to have the source code up sometime this weekend

but before doing that i at least need to write a README for it

Show thread

prrgrrmmng 

i now have the ability to create dragon age–style codices from a directory of text files

it looks terrible because there is no styling yet, but i can do it

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.