Calling Functions Across Languages • Richard Feldman • GOTO 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • This presentation was recorded at GOTO Chicago 2023. #GOTOcon #GOTOchgo
    gotochgo.com
    Richard Feldman - Functional Programming Language Expert & Author of "Elm in Action" ‪@rtfeldman‬
    RESOURCES
    www.roc-lang.org
    / sw_unscripted
    Richard
    / rtfeldman
    github.com/rtf...
    / rtfeldman
    ABSTRACT
    Suppose you want a new feature which requires a lower-level language to get the performance it needs. Or maybe your code is already low-level, but a new feature could be built much faster in a higher-level language without a noticeable performance hit. Or maybe you want to migrate incrementally from one language to another.
    Whatever the motivation, calling functions across languages while staying within the same process is commonly overlooked in favor of more familiar techniques like spinning up a separate server for the other language to use, or at least another process. These can not only introduce performance problems, but also an infrastructure maintenance burden that can be avoided with direct calls.
    This talk explores the technique of directly calling functions across languages by looking at how it works in several different languages, the tradeoffs compared to other techniques like separate servers and processes, and when and why you might want to use it.
    Come see how calling functions across languages could benefit your project! [...]
    Download slides and read the full abstract here:
    gotochgo.com/2...
    RECOMMENDED BOOKS
    Richard Feldman • Elm in Action • amzn.to/387kujI
    Tim McNamara • Rust in Action • amzn.to/3ux2R9u
    Cristian Salcescu • Functional Programming in JavaScript • amzn.to/3y75jBS
    / gotocon
    / goto-
    / gotoconferences
    #StaticTyping #DynamicTyping #FunctionalProgramming #Roclang #Rustlang #Golang #Elmlang #Scala #Java #Fortran #Programming #ProgrammingLanguage #SoftwareEngineering #RichardFeldman
    Looking for a unique learning experience?
    Attend the next GOTO conference near you! Get your ticket at gotopia.tech
    Sign up for updates and specials at gotopia.tech/n...
    SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
    www.youtube.co...

ความคิดเห็น • 18

  • @rudybanerjee6367
    @rudybanerjee6367 ปีที่แล้ว +27

    Wisconsin represent 💯
    How is this guy so good at presentations got damn, literally every one of his talks are super easy to follow along with.

    • @encapsulatio
      @encapsulatio ปีที่แล้ว +1

      Especially if you listen to him at 0.85x .

    • @frozen_tortus
      @frozen_tortus ปีที่แล้ว +1

      Practice I guess.@@encapsulatio

    • @stygian91
      @stygian91 7 หลายเดือนก่อน +1

      checkout his talk about teaching Elm, he explains how he thinks about teaching in general

  • @CrIMeFiBeR
    @CrIMeFiBeR ปีที่แล้ว +6

    With roc, he became my favorite man, talk on the happy path programming, still new to functions and really into f#

  • @JT-mr3db
    @JT-mr3db 9 หลายเดือนก่อน +2

    Richard’s presentations have actually changed my life with career opportunities. As soon as there is a decent Roc lsp I’m switching!

  • @mehtubbhai9709
    @mehtubbhai9709 ปีที่แล้ว +7

    What a great teacher!

  • @frozen_tortus
    @frozen_tortus ปีที่แล้ว +3

    I came to listen about roc, learned how processor works. :). Always awesome to listen Richard.

  • @acodersjourney
    @acodersjourney ปีที่แล้ว +3

    Kudos for your hard work. Your channel is top-notch.

  • @endrawes0
    @endrawes0 ปีที่แล้ว +10

    Fortran has been updated many times since 1957😂

    • @HenkPoley
      @HenkPoley 11 หลายเดือนก่อน

      Recently some people who grew up with JavaScript added an actually pretty decent Fortran Package Manager (fpm). And the code even looks pretty reasonable, compared to the old 100 SCREAMING CASE SYNTAX. 😅

  • @RoamingAdhocrat
    @RoamingAdhocrat ปีที่แล้ว +3

    can't believe there's no "crossing the Rubicon" pun in this

  • @douglasahlquist
    @douglasahlquist ปีที่แล้ว +2

    Years ago when I worked at Borland we created libraries that did exactly this where you could call C/C++ from Pascal or machine language or vice versa…. While at NASA I extended this idea using Elf and Dwarf that used a wrapper/converter that simplified this whole process…

  • @allanwind295
    @allanwind295 ปีที่แล้ว +2

    "shared memory" as in mmap can be shared between unrelated processes when file backed (MAP_SHARED), right? `shm_open()` or `memfd_create()` would be other options.

  • @MarshallLevin
    @MarshallLevin ปีที่แล้ว +3

    Perhaps protobuf...?

  • @eloy4
    @eloy4 ปีที่แล้ว +1

    Fun and interesting. Also some Louis CK vibes.

  • @justwanderin847
    @justwanderin847 ปีที่แล้ว +1

    Calling Cobol !!!

    • @chewbaccarampage
      @chewbaccarampage ปีที่แล้ว

      It's a real world use case. I remember reading about how a state in the US has it's driver's license software running in Cobol. They ended up using node-cobol to modernize their app.