Skip to content
0:00 / 0:00

#progsbase#cross-compilation#transpilation

Bridging the Gap Between Languages (with Martin Johansen)

Developer Voices

35K subscribers • 14 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Martin Johansen, creator of Progsbase

Intermediate. Assumes working knowledge.

3.3K views2 years ago2 recommendations

Programming languagesLanguage design and type systemsCompilers and interpreters

Martin Johansen discusses Progsbase, a tool and specification designed to cross-compile a universal subset of code across multiple programming languages.

If you ever feel overwhelmed by the number of different programming languages, this week’s episode might just offer you some solace, as we talk about an attempt to reunify many of the most popular languages by focussing on the bread & butter things that every language supports. I’m joined by Martin Johansen, who’s been working on a new tool called Progsbase. With it, he’s created a spec based on all the things programming languages can agree on, and is building a library that can cross-compile between them. Write a program in Java, and it can be automatically translated to PHP, Python and a great deal more. But how far can he take that idea? Is there really enough unity between these languages to build something universal? How do you bridge the divide between manual memory management languages like C and garbage-collected ones like Java? And what would it actually feel like to write code this way? Let’s put Martin’s plan under the spotlight and find out… – Martin on Twitter: twitter.com/martinfj Kris on Twitter: twitter.com/krisajenkins Kris on LinkedIn: linkedin.com/in/krisjenkins/ Progsbase homepage: progsbase.com/ The Spec: progsbase.com/docs/programs/ The Progsbase library repository: repo.progsbase.com/ The Bug Bounty: progsbase.com/bug-bounty/ – Intro Podcast Outro #software #programming #podcast #programminglanguages

Why it's here

2 people recommend this

What people say. Recommended as an interesting approach to creating ultra-portable, reusable libraries that can be translated losslessly between many different programming languages.

u/martionfjohansenin r/ProgrammingLanguages • Recommends

On “Is there a programming language for functions that can be called from any other programming language?”

…a-portable libraries written using the technology: https://repo.progsbase.com/ The goal here is to make software that is reusable for all, for ever. An added hope is that these programs will eventually be bug-free, so that we even have ultra-portable code without bugs that anyone can use forever. Here is a Developer Voices interview about it: [video…

u/oantolinin r/ProgrammingLanguages • Recommends

On “Is there a programming language for functions that can be called from any other programming language?”

That sounds like Martin Johansen's Progsbase project that I heard about on the Developer Voices podcast. It has defined restricted subsets of many languages that can be translated between losslessly, and currently has a parser for the restricted subset of Java and emitters for something like a dozen languages. Progsbase also has a library of useful components written in the Java subset, which you can then use from any of the dozen languages there are emitters for. The subsets contain the basics of procedural programming: numbers, arrays, if and while, function definitions. In the future the project hopes to have more parsers (and more emitters).