Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Cat
  • Cognate
  • colorForth
  • CoSy
  • Deque
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Forth
  • Freelang
  • Gershwin
  • Joy
  • Kitten
  • lang5
  • Lviv
  • min
  • mjoy
  • Mlatu
  • Ode
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Quackery
  • r3
  • Raven
  • Retro
  • Staapl
  • Stabel
  • Trith
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Other languages

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

Computer Science

  • Type systems
  • Language paradigms
  • Compilers
  • Interpreters
  • Garbage collection

Meta

  • Search
  • Farkup wiki format
  • People
  • Etiquette
  • Sandbox

Factor/GSoC/2009/Add SIMD primitives

Mentor

Slava Pestov

Skills required

  • Knowledge of a certain processor, like x86

Technical outline

Factor is completely scalar; no Factor code generates vector instructions. One solution to this is an auto-vectorizing compiler, but that is a very hard project. A simpler solution is to add primitives which take advantage of SIMD instructions on platforms where they exist. These primitives can be used to implement words like v for specialized arrays, and could give a very good speedup.

Benefit to student

The student will learn about several hardware platforms, and how to write fast numeric code.

Benefit to community

These improvements will make certain Factor programs, especially those with heavy use of numbers, faster, without intervention from the programmer.

This revision created on Fri, 13 Mar 2009 18:13:57 by littledan

Latest Revisions Edit

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