Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. The Project Proposal
  2. --------------------
  3.  
  4. Implement segmented stacks inside LLVM. Once this is implemented, instead of having to allocate a worst-case (large) amount of contiguous stack space to each thread, we'll be able to get each thread to allocate stack space in small atomic blocks, as and when more space is required.
  5.  
  6. The implementation details are attached as a separate file, since I don't want to clutter this up. It has also been sent to llvm-dev.
  7.  
  8.  
  9. Why This Project Is Interesting For Me
  10. --------------------------------------
  11.  
  12. I've always been interested in compilers. While this project is interesting in itself (I love working at this level), I look at this as a way to get myself started on making real contributions to the LLVM community.
  13.  
  14.  
  15. How The Project Will Be Useful For LLVM
  16. ---------------------------------------
  17.  
  18. From the inputs I've received (on the mailing list, and otherwise) this will be useful in the following situations:
  19.  
  20. * 32 bit systems and places where assigning more than a certain
  21. amount of virtual memory to a process may not be possible.
  22. * Code that uses CPS heavily.
  23. * Compiling languages like Go on LLVM.
  24.  
  25.  
  26. Details Of My Prior Knowledge In Compilers And LLVM In Particular
  27. -----------------------------------------------------------------
  28.  
  29. I am primarily self-taught. In fact, I've had the rather unusual experience of opening up a (JIT) compiler, getting a nuts-and-bolts idea of how it works, and /then/ reading up the relevant theory.
  30.  
  31. I have not contributed to LLVM before.
  32.  
  33.  
  34. Experience
  35. ----------
  36.  
  37. I participated in GSoC last year, and worked for the Mono project. I implemented safe points for their GC. I have patches in Mono, V8 and Varnish.
  38.  
  39.  
  40. Contact Information
  41. -------------------
  42.  
  43. sanjoy@playingwithpointers.com
  44. http://playingwithpointers.com
  45. http://twitter.com/SCombinator
  46. +91 9775552117
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement