Allen Wirfs-Brock

8.5K posts

Allen Wirfs-Brock banner
Allen Wirfs-Brock

Allen Wirfs-Brock

@awbjs

Dreaming the future of software; Project Editor ECMAScript 2015; Reformed Smalltalker JavaScript historian https://t.co/TLCrI97REE… @[email protected]

Sherwood Oregon USA เข้าร่วม Haziran 2010
218 กำลังติดตาม6.4K ผู้ติดตาม
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@aboodman @etrepum You're right, it about cleaning up nested generator activations. See #sec-iterator-interface" target="_blank" rel="nofollow noopener">tc39.es/ecma262/#sec-i… particularly Note 2. The `throw ` method is called by the `yield*` operator. See the yield* semantics at #sec-generator-function-definitions-runtime-semantics-evaluation" target="_blank" rel="nofollow noopener">tc39.es/ecma262/#sec-g…
English
0
0
1
65
Aaron Boodman
Aaron Boodman@aboodman·
No, I mean the `throw` method of the `Iterator` protocol: #throwexception" target="_blank" rel="nofollow noopener">developer.mozilla.org/en-US/docs/Web…. I get that the idea is to throw an exception that a catch statement around yield will receive. But the runtime doesn't ever call this method, so it seems like it is only useful if you can guarantee your callers will manually iterate your `Iterator`. Which seems like it makes it pretty non-useful since everything else encourages you so strongly to use generators with for-of.
English
3
0
1
142
Aaron Boodman
Aaron Boodman@aboodman·
Said it before and will again. I think TC39 has done a remarkably good job evolving JS. So many of the additions over the last ~15 years feel like so nice – like natural obvious additions to the language that just fit in with everything else, without adding new dimensions of complexity. The way promises + await + `try/catch` snap together is an old example I have always loved. But the way `Iterable`, `Iterator`, `Generator` and `for of` all fit together is another really pretty one. So is `class` + `prototype`. I know there was prior art to look at for a lot of this, but I still think that fitting this all together with the world's largest ecosystem of existing code and developers must have been quite a challenge. Props and gratitude @TC39.
Aaron Boodman@aboodman

I would love to know the inside story behind how JS suddenly got iterators, iterables, generators, and even async iterables, seemingly all at once. Pretty high-tech stuff for lil old designed-in-10-days-lang.

English
3
5
81
8.1K
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@aboodman If you aren't already familiar with "JavaScript: The first 20 years" you will probably enjoy it. It only touches upon the design history of iterators, but their story is pretty similar to other ES6 features that are covered in greater detail. dl.acm.org/doi/abs/10.114…
English
1
0
7
534
Andy Matuschak
Andy Matuschak@andy_matuschak·
When the compiler’s slow, or the design tool’s too cumbersome, the joy gets sucked out of the work for me. Feels like death. But: man, in the punchcard / mainframe days, people had day-long feedback loops and couldn’t tear themselves away. What gives? Novelty wearing off?
English
30
9
240
24.3K
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
The Onward! Essays 2024 submission deadline of April 25 is rapidly approaching. If you have an essay relating to software, programming, or programming languages which has not yet been formally published please consider submitting it. #Call-for-Essays" target="_blank" rel="nofollow noopener">2024.splashcon.org/track/splash-2…
English
0
3
5
1.3K
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
Call for Onward! Essays Submissions due 25 Apr 2024 #Call-for-Essays" target="_blank" rel="nofollow noopener">2024.splashcon.org/track/splash-2… Onward! is more radical, more visionary and more open than other conferences. Onward! Essays invites software developers&academics to submit essays on the state & possible futures of software development
English
0
1
2
718
Allen Wirfs-Brock รีทวีตแล้ว
Jonathan Edwards
Jonathan Edwards@jonathoda·
To: the crazy ones, the misfits, the rebels, the troublemakers, the ones who see things differently Subject: you should write an Onward! paper alarmingdevelopment.org/?p=1708
English
3
32
80
17K
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
I found out today that we almost had types in JavaScript in 1999 AND JSX (in the form of E4X). Have you ever wondered why we went from ES3 to ES5? Check out this article on the skipped ecmascript spec that could have changed the web two decades ago. evertpot.com/ecmascript-4-t…
English
11
14
81
13.3K
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@HernanWilkinson Here's the thing, everything we deal with in CS and software development is an abstraction.  Nothing is “real”, the concepts we use to design and create software are all in our heads.  Programmer are masters at creating useful things out of “smoke and mirrors”.
English
1
0
4
165
Hernan Wilkinson
Hernan Wilkinson@HernanWilkinson·
So, how is right? Jim Highsmith (screenshot from Wild west to Agile), Bob Taylor (youtube link), neither or both?? Same joke, different ways to tell it, same idea: The software does not weight😂😂😂 youtu.be/Y0MsrrTo8jY?t=…
YouTube video
YouTube
Hernan Wilkinson tweet media
English
2
1
9
704
BrendanEich
BrendanEich@BrendanEich·
@TypeScriptBob @AkiraMakes brendaneich.com/2017/12/my-dot… web.archive.org/web/2020060608… (cc: @aaronfrost in case he can ping Charles of whoever might restore the transcript archived thanks to the Wayback but now lost from the served version). Also of course twitter.com/awbjs/status/1… by @awbjs & me from HOPL-4 (2020).
Allen Wirfs-Brock@awbjs

HOPL proceedings includes the definitive copy of “JavaScript: The First 20 Years” by me and @BrendanEich. Differs from preprint in minor corrections and formatting changes—plus a bonus surprise. Preprint has been downloaded over 20000 times since March. dl.acm.org/doi/abs/10.114…

English
3
2
6
0
Allen Wirfs-Brock รีทวีตแล้ว
Geoffrey Litt
Geoffrey Litt@geoffreylitt·
wow, found an official guide from Apple on how to structure your GUI app to support chat commands using LLMs with function calling 🤯 imagine saying to chatgpt "set that chart to be a 3d pie" and that command can get routed to a Part of your Compound Document
Geoffrey Litt tweet media
English
12
10
221
39.8K
metafaerrette
metafaerrette@gasnerpants·
everyone arguing about checked exceptions (without knowing that's what they're called) without understanding the ergonomic issues
English
1
0
0
242
Manuel Simoni
Manuel Simoni@msimoni·
@gasnerpants My whole shtick about resumable exceptions is in fact anti-continuations. Common Lisp demonstrates that you don't need first-class continuations to resume after an error. But I'm afraid, other than the writers of the CL standard, I'm one of a handful of people who understand that
English
2
1
4
566
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
Ecma TC53 workshop in Cupertino, on 6 Dec 2023 "...participants will discuss proposals and consider options for embedded JavaScript standardization including new APIs, interoperability, packaging, and Hardened JavaScript (aka Secure ECMAScript)" ecma-international.org/news/invitatio…
English
0
1
1
668
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@codexeditor @atlantis__labs Tek 401x terminals were based upon Direct View Storage Tube CRT technology. The image is actually "stored" on the phosphorus at the front of the CRT. No refresh was required. The bright "cursor" is the electron beam that is "writing" on the phosphorus.
English
0
0
1
27
Codex
Codex@codexeditor·
@atlantis__labs It's absolutely key to the charm ... but the limitations of monochromatic display and resolution also contribute some creative constraints to the use of space and 𝘭𝘪𝘨𝘯𝘦 𝘤𝘭𝘢𝘪𝘳𝘦.
English
1
0
0
33
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@ljharb @AdamRackis I vaguely recall that meeting. My sense is that there was too my divergent views toake any progress. One of my points was that cjs modules had always been syntactic extensions to ES3&5.
English
0
0
2
80
Jordan Harband
Jordan Harband@ljharb·
@awbjs @AdamRackis we spent hours in one plenary and the room was convinced there was no way for node to do it and remain compliant. If we were wrong it would have been great to figure that out in 2017 :-p
English
1
0
1
81
Adam Rackis
Adam Rackis@AdamRackis·
Wait this was possible all along? What the fuck.
English
14
6
274
68.9K
Allen Wirfs-Brock
Allen Wirfs-Brock@awbjs·
@ljharb @AdamRackis Clause 17 says "Except as restricted in 17.1, a host or implementation may extend Script syntax, Module syntax,...". Noting in 17.1 restricts adding import statement syntax to Script. Impl would have to define its semantics. A justifiably good idea ???
English
1
0
1
63
Jordan Harband
Jordan Harband@ljharb·
@AdamRackis lol i mean, if the person who edited/wrote the spec doesn’t like what it says, but we can’t change it because browsers already shipped it, the only option left is just to do what it says
English
2
0
0
163