Edwin Brady - Idris 2 - Type-driven Development of Idris
Channel:Curry On! · Length:40:38 · Published:2019-07-18 · Views:19543
Summary
Edwin Brady, creator of Idris, presents Idris 2 and demonstrates type-driven development, where the compiler assists by filling holes and suggesting implementations from types.
Why HN recommends it
Recommended as the best demo of interactive, compiler-assisted dependently typed programming in action.
Watch Edwin Brady's demo of Idris 2 [2] to see this form of interactive development in action. — HN, 2019
Programming language design · Functional programming · Logic & formal methods
Subtitles (excerpt)
I've been working very hard on my PowerPoint skills recently this is a this is a kind of a show-and-tell session so I've been I've been hiding away in my cupboard over the last few months working on a new implementation of address and I just want to show show you where it is so just now curiosity has anyone played with any dependently type of programming languages before just by way of show of hands okay that's that's great because I mean I asked this question often and it's nice to see bigger proportions of hands going up over time so that's that's marvelous I'm not going to ask you how you know experience you are anything I'm just going to assume lis you've seen the basics before and I'm going to show you how the new version of Idris does some of those basics and some of the new things that can do and why I've done in the first place so there's a few things I want to do in this talk one what's the answer to point one are we ok if I read it as it's kind of good hands are going up at the back so if hands didn't go up it says check whether this font size is big enough so well right so as an important question of why did I what are they I even start doing this so so a couple of years ago doing new things with Idris I was working on one of my interests is in
On Hacker News
I really like the general idea of bridging the gap between graphical and text-based interfaces, abstracting away the differences and be able to use a mixture of both. In the realm of interactive programming (eg heavily ide assisted), people with some functional and statically typed programming background would be interested in this magnificent talk about idris2: [Edwin Brady - Idris 2 - Type-driv… — lapinot, 2020-03
The guessing the implementation part is pretty cool. You can find videos of Edwin Brady showing it off on youtube: [VIDEO] The book also walks you through lots of examples. The key part is the type needs to constrain the possible implementations down quite a bit. — adamgordonbell, 2023-01
Not quite what you mean, but still, you might find interesting the talks on how to approach coding in languages like Idris, where the compiler is able to support the editor in type suggestions. [VIDEO] — pjmlp, 2022-01
Every single one of your claims is addressed by the programming language Idris [1], which has dependent types. This is not to say that Idris is the only dependently typed language which solves these issues, only that it exists as a counterexample to your claims. 1. Idris does not have type inference at the top level, but it does infer types within the body of functions. It can even disambiguate i… — chongli, 2019-08
> Right, but then you can't multi-thread merge() Not sure If I understand what you mean. It would be both possible to call "merge" in parallel or to implement merge to do the work in parallel as well. > Or else, you say that it's immutable, and when some thread changes the state, it produces a new map3, and the old one doesn't change. But then you have the problem of getting all the other threads… — valenterry, 2021-06
Related videos
- CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++” · CppCon · 1:00:07
- CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style" · CppCon · 1:40:26
- CppCon 2015: Kate Gregory “Stop Teaching C" · CppCon · 1:00:11
- Eric Bier Demonstrates Cedar · Computer History Museum · 1:56:07
- CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.” · CppCon · 1:39:25
- CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++” · CppCon · 1:36:26
- "A Political History of X" - Keith Packard (LCA 2020) · linux.conf.au · 45:33
- RailsConf 09: Robert Martin, "What Killed Smalltalk Could K · O'Reilly · 1:00:55
- CppCon 2017: Kate Gregory “10 Core Guidelines You Need to Start Using Now” · CppCon · 1:02:33
- CppCon 2015: Herb Sutter "Writing Good C++14... By Default" · CppCon · 1:29:05
- Yesterday's Computer of Tomorrow: The Xerox Alto │Smalltalk-76 Demo · Computer History Museum · 16:48
- SYMBOLICS S-PACKAGES 3D GRAPHICS AND ANIMATION DEMO · Red Martian · 29:16
- Alto System Project: Dan Ingalls demonstrates Smalltalk · Computer History Museum · 2:08:02
- Alan Kay's tribute to Ted Nelson at "Intertwingled" Festival · TheTedNelson · 17:33
- Introducing a Memory-Safe Successor Language in Large C++ Code Bases - John McCall - CppNow 2023 · CppNow · 1:22:20
- A Narrative History of BSD, Dr. Kirk McKusick · bsdconferences · 53:54
- Old pinball machines are amazingly complex · Technology Connections · 50:08
- Alan Kay at OOPSLA 1997 - The computer revolution hasnt happened yet · Jeff Gonis · 1:04:33
- Classic Game Postmortem: Ultima Online · GDC Festival of Gaming · 59:47
- Brian Beckman: Don't fear the Monad · jasonofthel33t · 1:07:10