On Friday, 13 April 2018 at 11:54:12 UTC, David Bennett wrote:
Also the other idea I had was to have mixin functions that only
take compiletime args (they are UFCS-able though, unlike
templates) and mixin themselves when called like:
---
mixin add1Xtimes(alias int a, alias int t){
uint i=t
On Friday, 13 April 2018 at 23:36:46 UTC, H. S. Teoh wrote:
On Fri, Apr 13, 2018 at 11:00:20PM +, Jonathan Marler via
Digitalmars-d wrote: [...]
@JonathanDavis, the original post goes through an example
where you won't get a compile-time or link-time error...it
results in a very bad runtime
@helxi I invite you to contribute PR's to
https://github.com/timotheecour/D_vs_nim/ where I discuss feature
parity and how to translate concepts from D to nim wherever it makes
sense
On Fri, Apr 13, 2018 at 4:12 PM, helxi via Digitalmars-d
wrote:
> On Friday, 10 April 2015 at 18:42:20 UTC, Timot
On Sat, Apr 14, 2018 at 01:40:58AM +0200, Timon Gehr via Digitalmars-d wrote:
> On 13.04.2018 23:40, Jonathan M Davis wrote:
> > On Friday, April 13, 2018 22:36:31 Timon Gehr via Digitalmars-d wrote:
> > > On 10.04.2018 10:56, Jonathan M Davis wrote:
> > > > CTFE only ever happens when it must happ
On 13.04.2018 23:40, Jonathan M Davis wrote:
On Friday, April 13, 2018 22:36:31 Timon Gehr via Digitalmars-d wrote:
On 10.04.2018 10:56, Jonathan M Davis wrote:
CTFE only ever happens when it must happen. The compiler never does it
as an optimization.
The frontend doesn't. The backend might.
On Fri, Apr 13, 2018 at 11:00:20PM +, Jonathan Marler via Digitalmars-d
wrote:
[...]
> @JonathanDavis, the original post goes through an example where you
> won't get a compile-time or link-time error...it results in a very bad
> runtime stack stomp.
To put things in perspective, this is esse
On 4/13/18 7:00 PM, Jonathan Marler wrote:
@Steven You're just addressing the example I gave and not thinking of
all the other ways version (or other compiler flags) could change
things. For example, you could have version code inside a template that
changes mangling because it is no longer i
On Friday, 10 April 2015 at 18:42:20 UTC, Timothee Cour wrote:
Nim looks very promising.
Is there any comprehensive comparison against D somewhere (if
possible
recent) ?
Nim is way more expressive than D afaik. Consider the following
imaginary function:
proc fn[A : int | float; N; B : seq[
On Friday, 13 April 2018 at 22:29:25 UTC, Steven Schveighoffer
wrote:
On 4/13/18 5:57 PM, Jonathan M Davis wrote:
On Friday, April 13, 2018 16:15:21 Steven Schveighoffer via
Digitalmars-d
I don't know if the compiler can determine if a version
statement
affects the layout, I suppose it could,
On 4/13/18 5:57 PM, Jonathan M Davis wrote:
On Friday, April 13, 2018 16:15:21 Steven Schveighoffer via Digitalmars-d
I don't know if the compiler can determine if a version statement
affects the layout, I suppose it could, but it would have to compile
both with and without the version to see.
On Friday, April 13, 2018 16:15:21 Steven Schveighoffer via Digitalmars-d
wrote:
> On 4/13/18 3:47 PM, Jesse Phillips wrote:
> > On Friday, 13 April 2018 at 18:04:38 UTC, Jonathan Marler wrote:
> >> Error: symbol "__module_config_foo" needed by main.o is not defined
> >>
> >> The linker error isn'
On Friday, April 13, 2018 22:36:31 Timon Gehr via Digitalmars-d wrote:
> On 10.04.2018 10:56, Jonathan M Davis wrote:
> > CTFE only ever happens when it must happen. The compiler never does it
> > as an optimization.
>
> The frontend doesn't. The backend might.
The optimizer may do constant foldin
On 10.04.2018 10:56, Jonathan M Davis wrote:
CTFE only ever happens when it must happen. The compiler never does it as an
optimization.
The frontend doesn't. The backend might.
On 4/13/18 3:47 PM, Jesse Phillips wrote:
On Friday, 13 April 2018 at 18:04:38 UTC, Jonathan Marler wrote:
Error: symbol "__module_config_foo" needed by main.o is not defined
The linker error isn't great, but it prevents potential runtime
errors. Also, if you use the compiler instead of the l
On 4/13/18 4:15 PM, Steven Schveighoffer wrote:
I don't know if the compiler can determine if a version statement
affects the layout, I suppose it could, but it would have to compile
both with and without the version to see. It's probably an intractable
problem.
Even when the layout is affec
On Friday, 13 April 2018 at 18:04:38 UTC, Jonathan Marler wrote:
Error: symbol "__module_config_foo" needed by main.o is not
defined
The linker error isn't great, but it prevents potential runtime
errors. Also, if you use the compiler instead of the linker
you'll get a nice error message.
On Friday, 13 April 2018 at 18:04:38 UTC, Jonathan Marler wrote:
On Friday, 13 April 2018 at 10:47:18 UTC, Rene Zwanenburg wrote:
On Friday, 13 April 2018 at 05:31:25 UTC, Jesse Phillips wrote:
One thought I has was that we could define a special symbol
that basically encodes the configurat
On Friday, 13 April 2018 at 10:47:18 UTC, Rene Zwanenburg wrote:
On Friday, 13 April 2018 at 05:31:25 UTC, Jesse Phillips wrote:
Well if DIP1000 isn't on by default I don't think Phobos
should be compiled with it.
I think that the version issue is not unique to D and would be
good to address,
On Thursday, 12 April 2018 at 21:01:47 UTC, Arnold Blake wrote:
I hired a remote developer in the language of the programming
python, there was such a question as to how much should I pay
him for the work? how many per hour?
Estimate the project budget based on the plan and derive salary
from
On Friday, 13 April 2018 at 10:47:18 UTC, Rene Zwanenburg wrote:
On Friday, 13 April 2018 at 05:31:25 UTC, Jesse Phillips wrote:
Well if DIP1000 isn't on by default I don't think Phobos
should be compiled with it.
I think that the version issue is not unique to D and would be
good to address,
On Friday, 6 April 2018 at 20:33:10 UTC, Chris Katko wrote:
Sorry if this is "re-opening" an old thread, but did anything
come from this and DIP50? It seems like a really interesting
concept and this thread was one of the first results for a
Google search.
Thanks.
Thanks for reminding me ab
On Friday, 13 April 2018 at 05:31:25 UTC, Jesse Phillips wrote:
Well if DIP1000 isn't on by default I don't think Phobos should
be compiled with it.
I think that the version issue is not unique to D and would be
good to address, but I don't see the compiler reading the
object file to determin
On Friday, 13 April 2018 at 10:06:55 UTC, Cym13 wrote:
On Friday, 13 April 2018 at 10:00:00 UTC, bauss wrote:
On Thursday, 12 April 2018 at 21:01:47 UTC, Arnold Blake wrote:
I hired a remote developer in the language of the programming
python, there was such a question as to how much should I p
On Friday, 13 April 2018 at 10:00:00 UTC, bauss wrote:
Also who hires someone before they agree on a salary?
Says right there: "Arnold Blake".
--
Simen
On Friday, 13 April 2018 at 10:00:00 UTC, bauss wrote:
On Thursday, 12 April 2018 at 21:01:47 UTC, Arnold Blake wrote:
I hired a remote developer in the language of the programming
python, there was such a question as to how much should I pay
him for the work? how many per hour? What kind of sa
On Friday, 13 April 2018 at 10:05:12 UTC, Simen Kjærås wrote:
On Friday, 13 April 2018 at 10:00:00 UTC, bauss wrote:
Also who hires someone before they agree on a salary?
Says right there: "Arnold Blake".
--
Simen
Had me chuckle
On Thursday, 12 April 2018 at 21:01:47 UTC, Arnold Blake wrote:
I hired a remote developer in the language of the programming
python, there was such a question as to how much should I pay
him for the work? how many per hour? What kind of salary do
they have, are different countries interested,
27 matches
Mail list logo