Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
That was my first language after BASIC - I loved it! I may be remembering this wrong, but it seemed virtually free - it was about $100 when its competitors and most software was $500+. That was in about 1986. The only way to get a manual was to buy the software. Another world..
Anders Hejlsberg on Modern Compiler Construction (2016) [video]
21–30 of 42 posts
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#22Earlier quoted context omitted.
Between Delphi, C#, and TypeScript the man has already had a storied and impactful career.
You forgot about the previous 10 year's of the man's career with Turbo Pascal.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#23Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
That was my first language after BASIC - I loved it! I may be remembering this wrong, but it seemed virtually free - it was about $100 when its competitors and most software was $500+. That was in about 1986. The only way to get a manual was to buy the software. Another world..
Sadly that market was abandoned by Borland when they decided to go after enterprises and renamed themselves to Inprise and their prices skyrocketed after that.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#24This is kinda how the compiler-stuff in Dark is written. Everything - the editor, semantic analysis, version control, execution engine, everything - all use the same data structures (the same abstract syntax tree). We use functional data structure everywhere and we do functional updates within the AST all the time; that's even how text entry in the editor updates the program.
Is that data structure suitable for all those purposes though?
How do you do optimisations like GVN on an AS->T<-?
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#25Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#26This is a great talk, I was struck by how similar some of the high level design goals are to LLVM https://www.aosabook.org/en/llvm.html I kind of hope Anders moves on from TypeScript soon, he’s done a fantastic job there considering the constraints of JavaScript, but I’d love to see him tackle something new.
Anyone know a declarative interface for describing services and their interactions that “compiles” to a complete cloud resource manager.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#27On the top page there's another thread about rust-analyzer vs RLS. What Aleksey said[0] about RLS that "[RLS's] current architecture is not a good foundation for a perfect IDE long-term," feels similar to my coworker's conclusion in her effort to provide better editor support for PHP[1].
Parsers for compiling code into machine-executables vs parsers to serve LSP responses have different tradeoffs. For example, Anders mentioned TS parser need to have good error-recovery, can respond with completions/errors when one file changes inside a thousand-files-project. I vaguely remember TS had a goal to provide completions in TS's good editor support doesn't come free. I think one of the most under-appreciated achievement of TS is how it took editor support seriously and designed its compiler infrastructure to do it well. That's why I don't believe in those hot-new-web-languages that try to take over TS by designing a better type system. TS brought the average developer's expectation of a language to having fast completion, fast error reporting, editor autofix, F2 to rename and renaming-a-file-in-editor-to-update-all-references. It's 2020 and people aren't going back to write code like in Notepad.
[0]: https://ferrous-systems.com/blog/rust-analyzer-2019/
[1]: https://github.com/microsoft/tolerant-php-parser
---
EDIT: grammar.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#28Earlier quoted context omitted.
Between Delphi, C#, and TypeScript the man has already had a storied and impactful career.
Yes, he’s fantastically accomplished and capable, and I think he could do amazing things in a new area. I’d love to see him take lessons learned from C# for a language designed for WASM from the get go.
Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#29Re: Anders Hejlsberg on Modern Compiler Construction (2016) [video]
#30Turbo Pascal (which he authored) was quite the accomplishment back in the day - editor and compiler in 64K. Think about that for a minute.
That was my first language after BASIC - I loved it! I may be remembering this wrong, but it seemed virtually free - it was about $100 when its competitors and most software was $500+. That was in about 1986. The only way to get a manual was to buy the software. Another world..
Likewise I paid 150 euros in today's money for Turbo C++ for Windows a couple of years later.
Borland products were king for small business, but then they decided to switch focus to corporate users, and the rest is history.
As side note, Delphi and C++ Builder are still quite loved in Germany, several companies keep using them, and there is at least an yearly conference.