digitalmars.D - What does the compiler really require from the runtime?
- Alex (3/3) Aug 19 2014 Hi Everyone,
- Jacob Carlborg (6/9) Aug 19 2014 Here's a list [1]. It's probably not complete but it's a start. It's
- Alex (2/11) Aug 19 2014 thanks, thats exactly what i needed :)
- w0rp (9/24) Aug 23 2014 I think Adam's book and work from others like that DConf talk
- Messenger (2/11) Aug 24 2014 Use the source, Luke!
- Jacob Carlborg (4/5) Aug 24 2014 Hehe :)
- Dicebot (8/11) Aug 19 2014 You may be interested in watching
Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?
Aug 19 2014
On 2014-08-19 18:31, Alex wrote:Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?Here's a list [1]. It's probably not complete but it's a start. It's best to look at the source code of the existing runtime. [1] http://wiki.dlang.org/Runtime_Hooks -- /Jacob Carlborg
Aug 19 2014
On Tuesday, 19 August 2014 at 16:55:49 UTC, Jacob Carlborg wrote:On 2014-08-19 18:31, Alex wrote:thanks, thats exactly what i needed :)Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?Here's a list [1]. It's probably not complete but it's a start. It's best to look at the source code of the existing runtime. [1] http://wiki.dlang.org/Runtime_Hooks
Aug 19 2014
On Tuesday, 19 August 2014 at 18:26:28 UTC, Alex wrote:On Tuesday, 19 August 2014 at 16:55:49 UTC, Jacob Carlborg wrote:I think Adam's book and work from others like that DConf talk show that there's a lot of potential for implementing lighter runtimes for using in embedded code, kernels etc. I've considered playing around with it myself for writing effectively C libraries instead in D which don't require the runtime. (Further to the "Better C" idea.) I'm not sure how practical such a thing would be, but praticality is rarely a concern in projects I work on just for fun, until it turns out to actually be useful.On 2014-08-19 18:31, Alex wrote:thanks, thats exactly what i needed :)Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?Here's a list [1]. It's probably not complete but it's a start. It's best to look at the source code of the existing runtime. [1] http://wiki.dlang.org/Runtime_Hooks
Aug 23 2014
On Tuesday, 19 August 2014 at 16:55:49 UTC, Jacob Carlborg wrote:On 2014-08-19 18:31, Alex wrote:Use the source, Luke!Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?Here's a list [1]. It's probably not complete but it's a start. It's best to look at the source code of the existing runtime. [1] http://wiki.dlang.org/Runtime_Hooks
Aug 24 2014
On 2014-08-24 09:26, Messenger wrote:Use the source, Luke!Hehe :) -- /Jacob Carlborg
Aug 24 2014
On Tuesday, 19 August 2014 at 16:31:38 UTC, Alex wrote:Hi Everyone, Is there a list of functions and data structures, the D-Compiler would expect from a custom runtime?You may be interested in watching http://dconf.org/2014/talks/franklin.html and reading https://www.packtpub.com/application-development/d-cookbook - both explain in details what was necessary to create a minimal runtime for barebone binary. It is not a fully-featured runtime though so actual answer may depend on your goals - you don't need to implement language features you are not going to use.
Aug 19 2014