Edwin Brady
f7b72a6732
Use idris_alloc for GMP allocation
...
Now storing VM in a pthread_key (in environments which support pthreads)
meaning that allocation doesn't need to be passed a VM pointer, and so
we can safely use the idris allocator from GMP (and indeed any C library
which wants to use it).
2014-12-18 00:09:25 +00:00
Edwin Brady
ce26633528
Don't keep allocating nullary constructors
2014-08-19 20:06:33 +01:00
Benjamin Saunders
e8887b6935
Store arguments in a global rather than the VM struct so as to reduce dependence of lib on RTS impl details
2013-11-13 19:50:40 -08:00
Sam T
6f8ee968e1
A bit more detailed rts stats.
2013-03-15 21:01:55 +04:00
Sam T
1df7d1591a
add basic rts options
2013-03-14 15:04:45 +04:00
Edwin Brady
72452903f7
Some tiny RTS optimisations
2012-12-09 17:39:40 +00:00
Edwin Brady
9e58e28aad
Type safe message passing concurrency
2012-10-31 18:03:17 +00:00
Edwin Brady
7508b646a0
'par' primitive in builtins (not yet implemented)
2012-10-31 10:51:19 +00:00
Edwin Brady
314246b976
Make getArgs work with new backend
2012-09-24 20:48:02 +01:00
Edwin Brady
c02a58c5f5
Added fork (but not working properly yet)
2012-09-22 12:58:06 +01:00
Edwin Brady
e956eca179
Don't lambda lift unused arguments
2012-09-14 09:26:30 +01:00
Edwin Brady
f95900845d
New RTS in place
2012-09-13 22:32:37 +01:00
Edwin Brady
6b46ffcc46
New RTS almost ready, but for garbage collection problem
2012-09-13 21:16:36 +01:00
Edwin Brady
b642db52ac
Almost working new back end
2012-09-08 00:49:02 +01:00
Edwin Brady
f2766a6f2d
Fix GC error
2012-09-06 11:31:19 +01:00
Edwin Brady
b94138651c
Change TRACE mode to use -O2
2012-09-05 17:24:37 +01:00
Edwin Brady
3009319019
Added a simple copying GC
2012-09-05 13:23:40 +01:00
Edwin Brady
93d645ac00
Identify tail calls while simplifying
2012-08-31 16:05:26 +01:00
Edwin Brady
79e6bf7db8
Set up C generator
2012-08-31 11:13:02 +01:00