Re: [MLton] MLton on the bare metal or RTOS

David Ireland <[email protected]> Sat, 4 Oct 2014 11:53:31 +0100
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <CAC=z4QpPNmzDX6Z9TbDQL5idjP4AMquGX_zPGvLjB8WDWR2rHg@mail.gmail.com>
Thanks for the replies. I've made the mistake of joining the list to
receive digests and don't know how to fix that, so I can't reply directly.

GnuMP is a problem, because autoconf isn't friendly to non-posix targets
and neither, for than matter is GnuMP, which uses malloc. It might be
easier to figure out how to remove the dependency.

It would be nice to see some source code from last years summer of code
project targeting an RTOS. Where can I find it? It must have found some
solution to this.

Cheers
David


On 2 October 2014 13:21, David Ireland <[email protected]> wrote:

> I'd like to use MLton to compile code for an ARM Cortex-M3 SOC. I'd like
> to develop in ML, rather than in C. I would use an existing RTOS and
> drivers to avoid real time requirements, so I could use a GC. The GC, and
> threads are the only parts of the runtime I would definitely need.
>
> I think there is probably only one crucial question: does the GC need an
> MMU? If its just case of needing to know the physical address of the heap
> and stack in advance that can probably be calculated. Also, I can protect
> memory regions to achieve a write barrier, if that's required.
>
> Cheers
> David
>
>

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

_______________________________________________
MLton-devel mailing list
[email protected]; [email protected]
https://lists.sourceforge.net/lists/listinfo/mlton-devel