ffi: don't use C for obtaining an address of a haskell function
[mate.git] / doc / TODO
index cef269182f7175088f6ab295166b11be7b18bf4e..c32d2430d1ddbbb530388caee24a5a00190d9438 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
        -> it's an stupid and ugly hack. we don't want that.
        -> estimated effort: unknown. research for a solution is needed
 
-(m) hlint
-
 (l) cabal file
 
 (h) so much cleanup...
+       -> define constant for native size stuff
+       -> and much more
+
+(m) enable easy recompiliation of a method
+       -> we need a map where all callers are stored
+          in order to patch those to the new address
+       -> free old code region. maybe replace it with
+          some magic values, e.g. which produce a signal
+          in order to enable easier debugging
+
+(h) get rid of trap.c
+       -> it's C. we don't want that.
+       -> at the moment System.Posix.Signal isn't powerful enough
+       -> wait for: http://hackage.haskell.org/trac/ghc/ticket/2451
 
 (l) check different types (byte, long, ...)
 
+(l) get rid of CUInt where appropriate
+       -> CPtrdiff and CSize (ptrdiff_t and size_t) is more portable
+
 (l) floating point support
 
 (h) better code generation
@@ -48,6 +63,9 @@
 
 (m) benchmark for presentation
 
+(l) get rid of missingh
+       -> huge dependency and we just need one function of it
+
 
 (l) ... low priority
 (m) ... medium priority