On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a compilati
On Wednesday, 10 December 2014 at 12:50:19 UTC, Mike wrote:
I just remembered I had an idea for this specific feature that
would require no special attribute. You simply take all the
hard-coded symbols out of the compiler and put them in a .di
header file. Then you can version out, @deprec
On Wednesday, 10 December 2014 at 12:04:13 UTC, Daniel Murphy
wrote:
"bearophile" wrote in message
news:pibnlncyjzetohcnw...@forum.dlang.org...
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also
On Wed, 10 Dec 2014 10:46:56 +
bearophile via Digitalmars-d wrote:
> The #[no_std] attribute is used to avoid the runtime in Rust.
>
> Do we have any use for a @noruntime attribute in D?
>
> All @noruntime functions are also @nogc (so you don't need to put
> both attributes).
>
>
> This
On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a compilati
On Wednesday, 10 December 2014 at 12:18:47 UTC, Mike wrote:
On Wednesday, 10 December 2014 at 11:15:44 UTC, Stefan Koch
wrote:
It would be very nice if we could subsitute individual
functions of the runtime library by other functions or
function pointers.
I believe this is already possible
On Wednesday, 10 December 2014 at 11:15:44 UTC, Stefan Koch wrote:
It would be very nice if we could subsitute individual
functions of the runtime library by other functions or
function pointers.
I believe this is already possible with DMD because all druntime
functions are compiled as weak
"bearophile" wrote in message news:pibnlncyjzetohcnw...@forum.dlang.org...
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to put both
attributes).
Why would you e
On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a compilati
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to put
both attributes).
This could give a compilation error:
void foo(int[] a) @noruntime {
int[5] b = a[];
}
By
10 matches
Mail list logo