Software person. Prev built @jsr_io and @deno_land. Creator of Fresh. @tc39 delegate. he/him πŸ³οΈβ€πŸŒˆπŸŒπŸŒ»πŸ’š

The Netherlands
More relevant than ever: you can find my other social profiles on my website: lcas.dev/. I hope to see many of your there soon! (no direct links because the almighty overlord blocks them now)
33
34,346
So, Google Chrome gives all *.google.com sites full access to system / tab CPU usage, GPU usage, and memory usage. It also gives access to detailed processor information, and provides a logging backchannel. This API is not exposed to other sites - only to *.google.com.
236
2,182
15,433
2,474,636
This is interesting because it is a clear violation of the idea that browser vendors should not give preference to their websites over anyone elses. The DMA codifies this idea into law: browser vendors, as gatekeepers of the internet, must give the same capabilities to everyone.
9
111
3,868
182,998
Depending on how you interpret the DMA, this additional exposure of information only to Google properties may be considered a violation of the DMA. Take for example Zoom - they are now at a disadvantage because they can not provide the same CPU debugging feature as Google Meet.
8
53
2,179
169,073
For those interested: this is done through a built-in Chrome extension that can not be disabled, and does not show up in the extensions panel. Source code is here: source.chromium.org/chromium… It is unclear whether the same extension also ships in other Chromium derived browsers.
18
84
2,064
153,104
And for everyone that keeps saying "Use Brave!!!": Brave also has the same behaviour as Chrome and Edge here. The extension that allows Google to retrieve this information exclusively from *.google.com is also pre-installed in Brave.
48
87
1,749
111,389
Update: in Microsoft Edge this capability is also available exclusively to *.google.com domains
16
57
1,480
116,688
I am not kidding: this screenshot is the "proof" that @Oracle provided to @uspto that they are making use of the JavaScript trademark in their products. @nodejs? Yes! Apparently Oracle's legal team was not up to speed with the fact that Node.js is in fact not an Oracle product.
16
78
1,215
74,956
A Node -> Deno cheatsheet
10
157
1,110
Replying to @karnauskas
That’s not the point. The idea is good. The Google only implementation is not
4
10
1,054
59,682
I think I'm onto something here
4
86
707
Web streams are going to be insanely fast in Deno very soon. I'm very excited. βš‘οΈπŸ¦• This code for example will copy no bytes through JavaScript. The entire operation on line 3 happens within Rust, meaning that the JS event loop is completely idle during the streaming itself.
11
65
676
I wrote a custom JavaScript runtime in 30 minutes @ ArmadaJS yesterday! πŸ¦• Slides: docs.google.com/presentation… Repo: github.com/lucacasonato/arma… Recording will be out in a month or two πŸ™‚
10
67
665
BREAKING: @TC39 has moved the decorators proposal to Stage 3!!! (under some conditions) Congratulations to everyone who has worked on this!
9
77
582
It is enabled by default in Brave too, yes
4
1
461
67,223
A lot of awesome @deno_land artwork has been made in the last two years. You can find it now at deno.land/artwork πŸ–Ό. ➑️ Made something awesome? Add it to the site! The most recent addition is this 3D render made by MasterJames (github.com/MasterJames).

ALT A 3D scene with a green deno style dinosaur standing in front of a black background, in the rain.

10
70
443
TC39 will now be officially investigating how JavaScript could add support for type annotations! (the types as comments proposal is now stage 1) Super exciting!!! πŸŽ‰ Awesome work by @robpalmer2, @drosenwasser, @giltayar, and @romulocintra!
5
69
444
That's one of the reasons why we are going to file a petition with the US Patent and Trademark Office (@uspto) to relieve Oracle of the JavaScript trademark. Read the full letter we wrote to Oracle, and sign if you agree with the cause: javascript.tm #FreeJavascript
28
363
12,531
To be clear, I do not think Google is using this for anything malicious. It is used to display the "CPU usage" graph in the "Troubleshooting" panel of calls on meet.google.com. I don't think it is used for fingerprinting (Google doesn't need that, they have your user ID).
9
7
307
50,122
Replying to @poundinclude
My problem with this is not the capability per se - it's the anti competitive behaviour of only giving this data to google.com by default. For everyone else there is a large hurdle: "Install an extension and ask users to click 'Accept' on scary permission prompts"
4
6
307
26,561
The new `Response.json` static method is shipping in @ChromiumDev 105 (stable as of today)! πŸŽ‰ You can now easily create a response object with a JSON body. We shipped support for this new feature in Deno 1.22 in May. It was also recently added to Cloudflare Workers & Node.js
4
43
321
Oracle is not even a member of the OpenJS Foundation (@openjsf) - the body that Node.js lives under now. Members of the Node.js technical steering committee that I have talked to can not recall a single Oracle employee actively working on Node.js since 2019 (when this was filed).
1
7
316
8,324
Can I interest anyone in a native, HTTP/2 capable, full duplex streaming, web API compatible, and 10-30% faster than Node, HTTP server for Deno? Deno 1.9 is going to be a fantastic release. Only 5 more days...
12
30
316
open source maintainer life in a nutshell πŸ™ƒ
5
6
319
I was working on a side project today, and oh boy you have no idea how awesome import maps are 😍
17
19
278
91,814
β€œ[Deno will be] the fastest JavaScript runtime - full stop. […] The next release of Deno will include a new HTTP server. It is the fastest JavaScript web server ever built.” Deno go brrrr πŸš€πŸ¦•
πŸ“’ Big changes ahead for Deno deno.com/blog/changes
10
13
263
🀯
Replying to @Atinux
Following a size comparison for a Hello World πŸ“
6
24
273
I've been working on Deno full time for close to two years now. I'm incredibly humbled to be part of this great team, working on this great system. A little thread 🧡 1/x
Deno turns 4 today! πŸ¦•πŸŽ‰
8
16
226
Can we just collectively ack that setting up TypeScript in Node.js in 2022 still requires you to know npm, tsc & wrangling with tsconfig, and the SIMPLEST possible setup that is _just_ setup, no explaining, requires a 3:44 minute video? piped.video/watch?v=H91aqUHn… $ deno run main.ts
10
22
220
Using prettier right now? Speed it up 40x by using dprint, which will execute prettier in an embedded Deno JavaScript runtime. βš‘οΈπŸ¦•πŸ¦€ Read more in David’s post πŸ‘‡
An example of reducing format checking time with Prettier from ~40s to under 1s on the second CI run via dprint-plugin-prettier. david.deno.dev/posts/faster-…
3
18
213
I am excited to announce that I will be @deno_land's delegate at @TC39. I am thrilled to be able to work with the many talented people on the committee on pushing JavaScript to new heights, by making the language better for everyone.
Deno has joined @EcmaIntl's @tc39: the JavaScript standards committee. deno.com/blog/deno-joins-tc3…
14
16
202
Announcing Puppeteer for Deno: a framework to control headless Chromium or Firefox Nightly from Deno. Create UI tests, take screenshots, generate PDFs, or test Chrome Extensions, all with the same API you are familiar with from Puppeteer in Node. github.com/lucacasonato/deno…
8
38
197
The import reflections proposal has been approved for Stage 2 in @TC39 plenary! The proposal will allow for importing of WASM modules through the ESM import syntax. github.com/tc39/proposal-imp… Thanks to the feedback from everyone, and all the work from my co-champion @guybedford!
7
26
178
jsr.io - javascript registry coming soon to all javascript runtimes/bundlers/frameworks near you
7
20
167
19,483
Hot take: the ideal bundle size is 0kb.
7
8
161
We have been working on this for a while. I think it's really nice to use. Please try it out. Also, @preactjs is awesome.
Fresh is a new full stack web framework for Deno. It sends zero JavaScript to the client by default and has no build step. Today we are releasing the first stable version of Fresh. πŸ‹πŸš€ deno.com/blog/fresh-is-stabl…
7
13
156
"Dear @Oracle, Please Release the JavaScript Trademark" tinyclouds.org/trademark
2
41
163
The entirety of jsr.io will be open source. Frontend, API server, CLI, infra configuration, monitoring tools, docs… - all of it.
6
9
159
15,988
Mold is soooooo good. A fresh debug build of @deno_land compiles+links in 1m 22s with mold, and 2m 11s with GCC's linker. Incremental rebuilds are 8s with mold, and 34s with GCC. Absolutely nuts... thanks @rui314 github.com/rui314/mold
6
15
163
11,175
It also requires https So you have to have a custom ca too
2
1
151
36,861
Do you use @zeithq? Interested in a new modern scripting environment? @deno_land has your back. It's a secure JavaScript and TypeScript runtime written using V8, Rust, and TypeScript. And with the now-deno community runtime you can now use it on ZEIT Now. dev.to/lucacasonato/deno-on-…
2
48
156
The v2.1 release of the @code extension for @deno_land now has IntelliSense support for remote deno.land/x imports. It feels really magical πŸͺ„ πŸ¦• This is auto complete for remote URLs! 🀯 Thanks to github.com/CGQAQ for making this happen!
4
43
159
TC39 delegates after approving CommonJS modules for stage 2! Interoperable modules are coming to the language! ~ by Luca’s social media manager
8
7
157
Replying to @saltyAom
Oh boy - I just tried it and I can reproduce your result aswell. Good catch. I am getting the blog post updated right now with a disclaimer. The benchmark in the blog post was ran against 1.45.5, not 2.0.
4
1
153
112,292
Anyone excited for Deno 1.6?

ALT A screen capture of a Linux terminal with these contents: $ curl -L https://deno.land/std/examples/curl.ts // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const url_ = Deno.args[0]; const res = await fetch(url_); const body = new Uint8Array(await res.arrayBuffer()); await Deno.stdout.write(body); $ deno compile https://deno.land/std/examples/curl.ts --unstable Check https://deno.land/std/examples/curl.ts Bundle https://deno.land/std/examples/curl.ts Compile https://deno.land/std/examples/curl.ts Emit curl $ ./curl https://deno.land/std/examples/welcome.ts // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. console.log("Welcome to Deno πŸ¦•"); $ file ./curl ./curl: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=27f138c5f31cda49855498c5e0d59fea5c501054, for GNU/Linux 3.2.0, with debug_info, not stripped $

7
29
154
2 people in the last 3 days have wanted us to get into blockchains and all the scams surrounding that for Deno. The answer is no, so please stop asking.
3
8
140
You know how Vercel said that the Next.js Edge Runtime would be totally standard, and portable, and such? Well, Next.js now requires that these "standard" edge runtimes implement the Node.js specific API AsyncLocalStorage API that has no specification πŸ™ƒ github.com/vercel/next.js/pu…
12
12
147
66,415
jsr.io lets you natively publish TypeScript sources. No build step needed.
11
8
146
39,174
My grand plan for 2022 1. Join Microsoft 2. Add TSC config option to disable "An import path cannot end with a '.ts' extension. Consider importing './x.js' instead. ts(2691)" diagnostic 3. Quit
7
5
140
Did you know @deno_land uses the same test suite as Chrome, Firefox and Safari to test web APIs? These shared web platform tests ensure that APIs like `fetch` or `URL` are consistent across browsers. Check out wpt.deno.land/ to view our progress on web compat.
2
19
138
we may or may not have just shipped a new experimental http server that is faster than all other general purpose JS powered web servers, period :) βš‘οΈπŸ¦•πŸš€
Deno v1.25 is released πŸ›  deno init subcommand πŸ“¦ experimental npm support (!) πŸ•Έ faster HTTP server (perf analysis coming soon) πŸ‡ improvements to startup time πŸ‘©β€πŸ’» improvements to FFI Release notes: deno.com/blog/v1.25
2
9
138
On jsr.io, all packages are automatically assigned a score based on how well a package is documented, if it has slow types, a description, runtime compat indications, and more. In the future, more factors will go into this score This score affects search ranking
7
8
131
12,582
jsr.io does not support publishing CommonJS code. Long live ESM
5
9
131
18,172
Today in "TypeScript has very simple and obvious semantics"
5
8
123
23,688
Did you know that Deno and JSR don't probe during module resolution? This speeds up how fast we can load modules, because we don't need to try 10s of different paths for every import statement before finding the right file on disk. ✨πŸͺ„ Performance πŸͺ„βœ¨
10
12
115
31,931
Ever been frustrated by the web's lack of native support for {en/de}coding of raw data to/from base64/hex? I am proposing the addition of a new `BinaryDecoder` and `BinaryEncoder` API to add support this common use case right in the web platform. ➑️ github.com/lucacasonato/prop…
9
14
119
I love how the @jsr_io logo reassembles itself in a completely different way every time you load the homepage. There are more ways for the logo to reassemble itself than possible different UUIDs. Gives such a cool vibe
3
5
117
26,412
What a great way to start the week πŸš€
2
112
10,105
In all the ones that have not explicitly disabled it, yes
3
1
112
18,682
Replying to @jarredsumner
Actually it doesn’t (at least on a spec level). We discussed this two tc39 meetings ago. Engines currently have to do more total microtask ticks if you return a promise than if you return a non promise value with an await. We discussed how to fix this. Hopefully soon
2
2
117
Just know whenever you use a JS runtime, some poor schmuck had to write the C++ or Rust to make it work so you don't have to πŸ₯²
7
10
108
Replying to @akiroumi
Open meet.google.com and open the Troubleshooting panel - you’ll see a live CPU usage graph that no other website can implement. Also the code that does this is open source πŸ˜€
1
3
107
14,091
Do you enjoy building JS/TS developer tooling, love the web, and enjoy solving hard problems? Do you like writing @rustlang (or want to learn it?) Come work on @deno_land with our incredible fully remote team: deno.com/jobs/swe Please DM me if you have questions!
5
17
111
In case you missed it, Deno 1.18 passes more web platform tests for the Web Cryptography API than Chrome, Edge, and Firefox. Only Safari has us slightly beat: 1. Safari (99.8%) 2. Deno (98.1%) 3. Chrome/Edge (94.5%) 4. Firefox (93.4%) deno.co/webcryptographywpt
2
12
106
Sounds pretty Oracle in 2019 to me 🫠
1
99
4,345
Had someone legitimately ask me what the contingency plans for the continued maintenance of a _free_ open source project are after the primary contributor dies (where that contributor is not being paid for that work). Wtf is wrong with people.
11
7
101
Oracle has taken the JavaScript trademark hostage. It is time to #FreeJavaScript. ➑️ javascript.tm ⬅️
Help us spread the word β€” it's time to #FreeJavaScript. javascript.tm
3
8
103
6,305
Seriously??? Why do we keep having to make module resolution more and more complex? Please stop it. We have standardised module resolution, stop trying to distance yourselves further and further away from it. :(
πŸ†• TypeScript moduleSuffixes option Looks useful for React-Native and React Server Components πŸ‘Œ Thanks to @afoxman4 github.com/microsoft/TypeScr…
8
7
95
JSR is cool ya'll, but WE FINALLY HAVE ITERATOR HELPERS AND SET METHODS!!!! πŸŽ‰πŸ₯³πŸ₯³πŸ₯³πŸŽ‰ Thanks @smooshMap and @bakkoting ❀️❀️❀️
πŸ“£ Deno 1.42 is released! - JSR for dependency management - `deno publish` and `deno add` commands - Enhanced Node.js/npm compatibility - Significant LSP and performance upgrades - `DENO_FUTURE=1` for forward-looking changes deno.com/blog/v1.42
2
12
95
11,388
Replying to @ArrowoodTech
Or just tooling that doesn't require heaps of configuration, because good defaults :D
9
1
96
16,691
Deno KV is not boring KV store. It's a real database with a KV API. βš™οΈ Atomic transactions: deno.com/manual@main/runtime… πŸ—‚οΈ Secondary indexes: deno.com/manual@main/runtime… 🦺 Strong, external consistency and ACID operations. And other cool things on their way.
Announcing Deno KV: A Global Database for Global Apps! πŸŽ‰πŸŒ ⚑ Read data in milliseconds, worldwide πŸ› οΈ Zero setup and zero provisioning πŸ” ACID transactions πŸ’‘ Designed for JavaScript & TypeScript πŸ—οΈ Built on FoundationDB and SQLite Read more β†’ deno.com/kv
7
4
97
19,756
Would you believe me if I told you that I saw a proper, spec compliant HTTP server for JS today (async and everything) that can handle 2x the throughput of any other JS executing HTTP server that exists today? The future is exciting πŸ‘€
13
2
94
Deno Deploy is about to level up hard… Can’t wait to show off some of the incredible things the team is working on. Stay tuned friends. πŸͺ„ 🌎 πŸ’Ύ ⚑ 🐒 πŸ“¦ ✨ πŸ“ ⬆️ ☁️
6
6
92
9,698
Remember this? Well Deno is now 400% faster than Node in this benchmark, and thus on par with bun. Also this benchmark is completely meaningless. Who decodes 1 million char long base64 strings? Lol
added atob() and btoa() to bun.js (for base64) runs: - 5x faster than node - 18x faster than deno
7
7
94
Crowd sourcing implementation behaviour because too lazy to read the spec? lol (correct answer is 1) fetch.spec.whatwg.org/#forbi… fetch.spec.whatwg.org/#http-… fetch.spec.whatwg.org/#conce…
What do you expect the Content-Length received by the server to be? await fetch(url, { method: 'POST', body: '1', headers: { "content-length": "2", } });
10
7
89
48,887
Going to write a blog post about the architecture behind @jsr_io soon, but some spoilers: - server side rendered with Fresh - uses @preactjs islands of interactivity - no complex RSC / streaming - runs on commodity cloud hardware - data in postgres And look at these numbers 😍
5
11
92
5,470
So apparently it was my 3 year anniversary at @deno_land a couple weeks ago... πŸŽ‰ To another 3 years! πŸ¦•
4
86
5,676
Like, it is not my problem that your company will stop getting security updates for some free open source project you are relying on but not paying for after I have died. I have bigger fish to fry at that point. Like being fucking dead.
3
7
88
JSR now creates badges that you can put into your repo README jsr.io/docs/badges
2
2
89
7,346
We have so much cool Deno stuff lined up to be released this month. Can't even begin to imagine all the stuff that will be shipped this year. To a great 2022!
3
87
We just hit issue #11111 on the @deno_land πŸ¦• repo. Some statistics from the last 3 years: πŸ€— > 600 contributors, average 25 weekly active πŸ”§ Average of 60 PRs a week πŸ“¦ 4 releases a month πŸ—’οΈ Approaching 6000 commits #⃣ 30k JS, 72k TS, 77k Rust LOC Let's get to #22222! πŸš€
12
90
We just finished our first JSR working group meeting. We discussed a bit on moving JSR into a foundation, and various other things including finances and roadmap. More in thread 🧡
3
5
85
10,589
Replying to @yagiznizipli
No no, it's not Google Meet **like** services. It's only Google Meet. Zoom for example does work, because it does not rely on this *.google.com only behaviour.
1
82
5,228
doc.deno.land now has a dark mode! No more need to get out your sunglasses while browsing the automatically generated documentation for any Deno compatible JavaScript or TypeScript module. 😎 Feedback welcome!
3
13
80
jsr.io automatically generates documentation for any package published to it
10
8
84
16,302
It's awesome to be involved in explorations like these that may fundamentally re-shape the way developers write and use JavaScript. I'm excited to bring the experiences from the last 3 years of build-less TypeScript support in Deno to the committee!
Could we have TypeScript with no build step? Could we have types in JavaScript? Maybe! We're exploring bringing optional type syntax into the JavaScript language! devblogs.microsoft.com/types…
2
4
84
Deno stabilized the new URLPattern API in 1.15 last week, and Chrome 95 is shipping with URLPattern support _today_! Play around with URLPattern in our new Deno Deploy playgrounds: dash.deno.com/playground/url…
4
7
86
Replying to @yagiznizipli
Come work on Deno with us πŸ˜ƒ
1
77
Wow. TIL that @deno_land is the most starred Rust project on GitHub. πŸ¦• ❀️ πŸ¦€ github.com/EvanLi/Github-Ran…
1
5
79
8,958
If you have not signed up to Deno Deploy, give it a spin! You can have a simple page deployed globally in less than 10 seconds (with an in browser code editor!). Visit dash.deno.com/playground/nan…, press "Sign in" and/or "Fork" in the top right corner of the editor, and edit away! πŸš€
1
11
75
It’s the 4 month anniversary for full transparent byte-code caching in Deno! Deno only parses ESM & CJS code once. All boots after the first use an optimized code cache that doesn’t require us to parse JS again. This makes startup much faster. ⚑️ deno.com/blog/v1.43#faster-e…
1
8
81
7,053