Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Anders Hejlsberg

๐Ÿ‘ค Speaker
701 total appearances

Appearances Over Time

Podcast Appearances

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

in the real compiler and in the language service, right?

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And so that ultimately led us to this project called Roslyn, where we built a single compiler that really is both, it's a compiler that can both function as a command line compiler and as an interactive service inside the IDE.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

TypeScript is built that same way also, and there's a lot of learnings from doing it that way that are still not being taught in school.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

Yeah.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

I mean, luckily we had internal clients, the .NET Framework.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

very quickly started implementing in C Sharp.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

They had sort of used a hacked up version of C++ to implement, which was kind of odd because, I mean, it was like targeting bytecodes, but not really.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And so they switched to C Sharp and that helped a lot.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And then we had other internal teams using it.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And so we got a bunch of feedback that way.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And then we had, you know, the cycle was not that long, right?

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

I mean, I think we started in late 98.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And by the PDC of 2000, we signed up.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

I mean, we basically gave away beta copies, right?

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And got tons of users onto it.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

Well, a lot of languages are built around cooperative multitasking in the sense that they have an event loop that sits and dispatches events.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And then, you know, you handle the event and then you yield back to the event handler loop.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

And it all runs in a single thread cooperatively.

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

right?

The Pragmatic Engineer
TypeScript, C# and Turbo Pascal with Anders Hejlsberg

The problem with that is if you then want to do some long running work, how do I stop in the middle of this piece of long running work and yield back to the event loop cooperatively, right?