Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Factor/GSoC/2010/Generating shared libraries

Mentor

Slava Pestov

Skills required

  • Knowledge of the executable format on one major architecture (Windows, Mac, or Linux)
  • Knowledge of C and Factor

Level

Intermediate

Technical outline

Right now, Factor has a system for deploying standalone applications. This packages up an executable with a Factor image and all the necessary shared libraries. What we don't have is a way to generate a shared library (.dll/.so/.dylib) which can be called directly from C/C++ programs using the standard platform ABI. Now, C programs can call out to Factor code, but must do so directly. It would be good if you could generate a shared library which runs Factor code without writing any C at all. This would be very useful in real-world applications.

Benefit to the student

The student will learn about executable binary formats.

Benefit to the community

Factor will be usable for writing plugins for other applications.

This revision created on Thu, 25 Feb 2010 19:12:12 by jckarter (copy over 2009)

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.