~/talk

Transpiling Slang Methods to C Functions: An Example of Static Polymorphism for S...

Talkat VMIL 2023 · on Monday, 2023-10-23· [compilers-and-language-design]
name:Tom Braun
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

The paper describes an extension to the Slang→C transpiler that generates distinct C variants for Smalltalk VM methods so polymorphism is resolved at compile time: a prefixing methods approach and a spreading polymorphism approach driven by a configuration that maps markers (e.g., incremental vs complete). It's applied to two garbage collectors in OpenSmalltalk-VM, emits prefixed C functions, and adds an exported call graph for validation; the solution works but Slang is brittle and debugging and manual annotations remain necessary.

AI-written summary · about

  1. 0:00Transpiling Slang to C
  2. 2:09Project context and goals
  3. 3:10Slang function example
  4. 4:41Static polymorphism approach
  5. 7:11Spreading polymorphism approach
  6. 8:56Spreading logic example
  7. 9:39Experience and challenges
  8. 11:48Future work
  9. 12:33Conclusion
  10. 12:54Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.