Re: A Perspective on D from game industry

2014-06-15 Thread simendsjo via Digitalmars-d
On 06/15/2014 11:16 PM, Abdulhaq wrote: > On Sunday, 15 June 2014 at 20:10:34 UTC, Walter Bright wrote: >> On 6/15/2014 9:20 AM, Xinok wrote: >>> Given that he lives in Italy, it's safe to assume that English is not >>> his first >>> language. But rather than consider what he has to say or dispute

Re: Concurrent GC (for Windows)

2014-06-15 Thread Rainer Schuetze via Digitalmars-d
On 15.06.2014 23:30, Martin Nowak wrote: On 06/04/2014 10:37 PM, Rainer Schuetze wrote: Most of the remaining pause time is sweeping garbage. I think about deferring sweeping into allocations by running finalizers just before reusing the memory for another object. This can throttle allocations

Re: A Perspective on D from game industry

2014-06-15 Thread deadalnix via Digitalmars-d
On Monday, 16 June 2014 at 06:24:47 UTC, H. S. Teoh via Digitalmars-d wrote: On Mon, Jun 16, 2014 at 12:18:26AM -0400, Nick Sabalausky via Digitalmars-d wrote: [...] C++'s lack of finally didn't do any favors for exception handling's popularity, either. (Has "finally" finally been added?) ht

Re: A Perspective on D from game industry

2014-06-15 Thread H. S. Teoh via Digitalmars-d
On Mon, Jun 16, 2014 at 12:18:26AM -0400, Nick Sabalausky via Digitalmars-d wrote: [...] > C++'s lack of finally didn't do any favors for exception handling's > popularity, either. (Has "finally" finally been added?) http://stackoverflow.com/questions/7779652/try-catch-finally-construct-is-it-in-

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 4:26 PM, Burp wrote: I work in the game industry so I'm familiar with this type of mindset. Not everyone in my industry is like this, but unfortunately many are(I avoid working with them). He doesn't understand metaprogramming and so dismisses it. He also assumes C++ is all abo

An LLVM bug that affect both LDC and SDC. Worth pushing for

2014-06-15 Thread deadalnix via Digitalmars-d
http://llvm.org/bugs/show_bug.cgi?id=20049 Basically when you have a closure in a closure and the whole thing get inlined, LLVM mess up, which result in compiler not being able to optimize GC allocation away. Probably worth pushing for. It does probably affect other functional languages as w

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 9:55 PM, Manu via Digitalmars-d wrote: On 16 June 2014 05:53, Walter Bright via Digitalmars-d wrote: On 6/15/2014 12:27 PM, Nick Sabalausky wrote: It really gets me that the same industry which created Frostbite 3, Unreal Engine 4, GTA5, Steam (obviously all enormous investments)

Re: A Perspective on D from game industry

2014-06-15 Thread deadalnix via Digitalmars-d
On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand what people think of D. I can confirm this sentiment is fairly

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 9:49 PM, Walter Bright wrote: No, it is not. For example, assigning an int to a pointer is a semantic issue, not a semantic one. Gack, I meant "not a SYNTACTIC one".

Re: A Perspective on D from game industry

2014-06-15 Thread deadalnix via Digitalmars-d
On Sunday, 15 June 2014 at 20:20:37 UTC, Brad Roberts via Digitalmars-d wrote: You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. On 6/15/14, 8:37 AM, Caligo via Digitalmars-d wrote: I'm so sick of watching narcissistic

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 4:26 PM, Timon Gehr wrote: On 06/16/2014 01:06 AM, Walter Bright wrote: I don't understand your question. I don't know what is unhelpful about saying that @safe refers to memory safety. ... You stated the two to be equivalent earlier, which is impossible. It is for Java, why sho

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 7:08 PM, w0rp wrote: On Sunday, 15 June 2014 at 22:40:53 UTC, John Colvin wrote: *i.e. it's not targeted at women specifically and doesn't imply any negative message about women. YMMV by location and social group. **it's barely an insult at all if you've got the right(?) Irish frie

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 4:53 PM, w0rp wrote: I'm going to try my hand at making a game with 2.066, because I believe @nogc is a final piece in a puzzle of making doing that easy. Much like writing bare metal D code without the runtime, I'm going to try my hand at writing D code with the main function marked

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 16 June 2014 12:44, Burp via Digitalmars-d wrote: > >> Gamedev is about solutions being given (MSVC, closed console platform >> tools, etc), and they are just waiting for the package to appear. >> It's not entirely unreasonable either. Most people probably don't >> realise how high-stress and u

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 15 June 2014 21:28, Peter Alexander via Digitalmars-d wrote: > http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 > > The arguments against D are pretty weak if I'm honest, but I think it's > important we understand what people think of D. I can confirm this sentiment > is f

Re: A Perspective on D from game industry

2014-06-15 Thread Burp via Digitalmars-d
Gamedev is about solutions being given (MSVC, closed console platform tools, etc), and they are just waiting for the package to appear. It's not entirely unreasonable either. Most people probably don't realise how high-stress and unfair the gamedev industry is when it comes to engineers time

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 16 June 2014 11:12, H. S. Teoh via Digitalmars-d wrote: > On Sun, Jun 15, 2014 at 12:51:12PM -0700, Walter Bright via Digitalmars-d > wrote: >> On 6/15/2014 6:50 AM, Peter Alexander wrote: >> >The fear of meta programming comes from Boost, and rightly so in >> >my opinion. Boost is written wit

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 16 June 2014 09:25, Brian Rogoff via Digitalmars-d wrote: > On Sunday, 15 June 2014 at 20:53:58 UTC, w0rp wrote: >> >> I'm going to try my hand at making a game with 2.066, because I believe >> @nogc is a final piece in a puzzle of making doing that easy. Much like >> writing bare metal D code

Re: sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
On Monday, 16 June 2014 at 01:08:33 UTC, safety0ff wrote: On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote: Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use? std.format is

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 16 June 2014 05:53, Walter Bright via Digitalmars-d wrote: > On 6/15/2014 12:27 PM, Nick Sabalausky wrote: >> >> It really gets me that the same industry which created Frostbite 3, Unreal >> Engine 4, GTA5, Steam (obviously all enormous investments), mostly done >> *in* C++ >> which makes them

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 16 June 2014 04:50, Meta via Digitalmars-d wrote: > On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: >> >> http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 >> >> The arguments against D are pretty weak if I'm honest, but I think it's >> important we understa

Re: A Perspective on D from game industry

2014-06-15 Thread Manu via Digitalmars-d
On 15 June 2014 21:28, Peter Alexander via Digitalmars-d wrote: > http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 > > The arguments against D are pretty weak if I'm honest, but I think it's > important we understand what people think of D. I can confirm this sentiment > is f

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread Daniel Murphy via Digitalmars-d
"Trass3r" wrote in message news:sgcekbmbxefmnghzs...@forum.dlang.org... Is there any good reason to catch that? I really want the debugger to fire up. I know, I hate this. You can disable it by changing rt_trapExceptions in dmain2.d in druntime to false and rebuilding druntime, which is hor

Re: A Perspective on D from game industry

2014-06-15 Thread H. S. Teoh via Digitalmars-d
On Sun, Jun 15, 2014 at 12:51:12PM -0700, Walter Bright via Digitalmars-d wrote: > On 6/15/2014 6:50 AM, Peter Alexander wrote: > >The fear of meta programming comes from Boost, and rightly so in > >my opinion. Boost is written with the assumption that users will > >never have to read its source co

sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use?

Re: sscanf replacement in D

2014-06-15 Thread safety0ff via Digitalmars-d
On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote: Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use? std.format is one option: http://dlang.org/phobos/std_format.html#.form

Re: A Perspective on D from game industry

2014-06-15 Thread Brad Roberts via Digitalmars-d
I'd reply to those that choose to nit pick the specific choice of words rather than the underlying message, but please, this forum devolves into rants and childish behavior often enough already. Try to take to heart Walter's words and underlying intent. A little more professionalism and care t

Re: Out of sight out of mind

2014-06-15 Thread Jonathan M Davis via Digitalmars-d
On Mon, 16 Jun 2014 00:35:33 +0200 Martin Nowak via Digitalmars-d wrote: > On 06/15/2014 05:37 PM, Andrew Edwards wrote: > > Take issue #143 for instance. It is the oldest open issue on the > > DLang Issue Tracking System. Submitted by Jarrett Billingsley on > > May 17, 2006, it received one comm

Re: A Perspective on D from game industry

2014-06-15 Thread Sean Kelly via Digitalmars-d
On Sunday, 15 June 2014 at 19:51:08 UTC, Walter Bright wrote: In fact, templates engender such an "OMG! Templates! I don't get Templates!" aura about them that I convinced Andrei to not even use the word "template" in his book about D! That's precisely the reason I wrote a chapter on templat

Re: foreach

2014-06-15 Thread H. S. Teoh via Digitalmars-d
On Sun, Jun 15, 2014 at 03:05:37AM -0400, Nick Sabalausky via Digitalmars-d wrote: [...] > True story: I once had to put up with a production codebase (the > company's *flagship* product) that wasn't asm (it was VB6) and yet was > filled with garbage like this: > > if ...cond... then >...stat

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Timon Gehr via Digitalmars-d
On 06/16/2014 01:06 AM, Walter Bright wrote: On 6/15/2014 3:45 PM, Timon Gehr wrote: I don't know why the documentation says that. D's @safe is about memory safety, not undefined behavior. ... Note that this is frustratingly unhelpful for deciphering your point about "memory safe" <=> "verifia

Re: A Perspective on D from game industry

2014-06-15 Thread Brian Rogoff via Digitalmars-d
On Sunday, 15 June 2014 at 20:53:58 UTC, w0rp wrote: I'm going to try my hand at making a game with 2.066, because I believe @nogc is a final piece in a puzzle of making doing that easy. Much like writing bare metal D code without the runtime, I'm going to try my hand at writing D code with the

Re: A Perspective on D from game industry

2014-06-15 Thread w0rp via Digitalmars-d
On Sunday, 15 June 2014 at 22:40:53 UTC, John Colvin wrote: On Sunday, 15 June 2014 at 20:20:37 UTC, Brad Roberts via Digitalmars-d wrote: You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. Unnecessarily offensive in th

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 3:45 PM, Timon Gehr wrote: I don't know why the documentation says that. D's @safe is about memory safety, not undefined behavior. ... Note that this is frustratingly unhelpful for deciphering your point about "memory safe" <=> "verifiably @safe" by definition. Are you defining "me

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
Professionals at work use and rely on this forum, and NSFW content shouldn't be posted here. I also request a professional standard of decorum here.

Re: DIP63 : operator overloading for raw templates

2014-06-15 Thread Timon Gehr via Digitalmars-d
On 06/15/2014 08:32 PM, Dicebot wrote: http://wiki.dlang.org/DIP63 This is solution for a problem I am currently having with implementing http://wiki.dlang.org/DIP54 (afair it was also mentioned by Timon Gehr during old discussion of that DIP) New proposed semantics ( to catch your attention an

Re: A Perspective on D from game industry

2014-06-15 Thread John Colvin via Digitalmars-d
On Sunday, 15 June 2014 at 20:20:37 UTC, Brad Roberts via Digitalmars-d wrote: You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. Unnecessarily offensive in the context, yes, but reasonable people can and do disagree on

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Timon Gehr via Digitalmars-d
On 06/15/2014 08:44 PM, Walter Bright wrote: On 6/15/2014 2:48 AM, Timon Gehr wrote: On 06/15/2014 10:33 AM, Walter Bright wrote: What Timon is saying is that not all memory safe code is verifiably @safe. In D, they are defined to be the same thing, Since when? http://dlang.org/function

Re: Out of sight out of mind

2014-06-15 Thread Martin Nowak via Digitalmars-d
On 06/15/2014 05:37 PM, Andrew Edwards wrote: Take issue #143 for instance. It is the oldest open issue on the DLang Issue Tracking System. Submitted by Jarrett Billingsley on May 17, 2006, it received one comment two days later but was ignored for four years before Michal Minich made the second

Re: Out of sight out of mind

2014-06-15 Thread Martin Nowak via Digitalmars-d
On 06/15/2014 10:52 PM, David Nadlinger wrote: One thing that might be nice to have, though, is a "What Should I Work On Next?" type of page for newcomers, with a few saved searches and maybe some big-picture suggestions in addition to that. Go to https://issues.dlang.org/colchange.cgi and chan

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On Sunday, 15 June 2014 at 20:20:37 UTC, Brad Roberts via Digitalmars-d wrote: You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. Yes. Misogyny is clearly the issue here. Because it obvioulsy would have been SOOO complete

Re: Concurrent GC (for Windows)

2014-06-15 Thread Martin Nowak via Digitalmars-d
On 06/12/2014 08:34 AM, Rainer Schuetze wrote: If I add the actual copy into heap2 (i.e. every fourth page of 512 MB is copied), I get 80-90 ms more. The numbers are not great, but I guess the usual memory usage and number of modified pages will be much lower. I'll see if I can integrate this in

Re: A Perspective on D from game industry

2014-06-15 Thread Joakim via Digitalmars-d
On Sunday, 15 June 2014 at 18:50:14 UTC, Meta wrote: On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand what peopl

Re: Concurrent GC (for Windows)

2014-06-15 Thread Martin Nowak via Digitalmars-d
On 06/04/2014 10:37 PM, Rainer Schuetze wrote: Most of the remaining pause time is sweeping garbage. I think about deferring sweeping into allocations by running finalizers just before reusing the memory for another object. This can throttle allocations a bit while at the same time reduce pauses.

Re: A Perspective on D from game industry

2014-06-15 Thread bearophile via Digitalmars-d
w0rp: I'm going to try my hand at writing D code with the main function marked as @nogc, That's going to be lot of fun! Are you going to need Unicode text? One report: https://d.puremagic.com/issues/show_bug.cgi?id=12768 Bye, bearophile

Re: A Perspective on D from game industry

2014-06-15 Thread ponce via Digitalmars-d
On Sunday, 15 June 2014 at 21:18:10 UTC, Dicebot wrote: If spending only reasonable time is in question - oh yes. If you are eager to spend months of spare time - there are some possibilities ;) btw ironically this is when I have felt in love with generic paradigm, with reasoning "wow, this i

Re: A Perspective on D from game industry

2014-06-15 Thread Dicebot via Digitalmars-d
On Sunday, 15 June 2014 at 21:11:38 UTC, Paolo Invernizzi wrote: On Sunday, 15 June 2014 at 16:06:08 UTC, Dicebot wrote: On Sunday, 15 June 2014 at 13:50:10 UTC, Peter Alexander wrote: Had some good time of my own debugging Boost::Spirit2 >_< That's simply an impossible task! ;-P If spendin

Re: A Perspective on D from game industry

2014-06-15 Thread Abdulhaq via Digitalmars-d
On Sunday, 15 June 2014 at 20:10:34 UTC, Walter Bright wrote: On 6/15/2014 9:20 AM, Xinok wrote: Given that he lives in Italy, it's safe to assume that English is not his first language. But rather than consider what he has to say or dispute his arguments, you completely dismissed his point of

Re: A Perspective on D from game industry

2014-06-15 Thread w0rp via Digitalmars-d
On Sunday, 15 June 2014 at 21:00:23 UTC, MattCoder wrote: On Sunday, 15 June 2014 at 20:53:58 UTC, w0rp wrote: I'm going to try my hand at making a game with 2.066... It will be open-source? Can you tell what type of game you have in mind? Matheus. Yeah. I'll put it all on GitHub. I did a

Re: Out of sight out of mind

2014-06-15 Thread Dicebot via Digitalmars-d
On Sunday, 15 June 2014 at 17:40:58 UTC, Andrew Edwards wrote: True, we do not have access to anything but the external API, however I don't see that as a limiting factor. When I conduct a search in DITS, I effectively search through labels. Of course those labels present themselves as data fie

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 2:30 AM, Maxim Fomin wrote: I found dozens of cases when @safe is broken, let alone other issues in bugzilla. I have added the keyword 'safe' to bugzilla. I'd appreciate it if you would go through the bugzilla issues you've identified with @safe, and mark them with the 'safe' key

Re: A Perspective on D from game industry

2014-06-15 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 15 June 2014 at 16:06:08 UTC, Dicebot wrote: On Sunday, 15 June 2014 at 13:50:10 UTC, Peter Alexander wrote: Had some good time of my own debugging Boost::Spirit2 >_< That's simply an impossible task! ;-P --- Paolo

Re: Rosettacode example collection

2014-06-15 Thread Thomas Mader via Digitalmars-d
On Sunday, 15 June 2014 at 17:19:42 UTC, bearophile wrote: So you are missing most of the point of using D, and you are perhaps even relying too much on the D GC, that is much worse than the JavaVM GC. I am aware of the D GC issue and know that I need to take another route to get the most out

Re: Out of sight out of mind

2014-06-15 Thread David Nadlinger via Digitalmars-d
On Sunday, 15 June 2014 at 20:51:59 UTC, Andrew Edwards wrote: My proposal for using one homogeneous system is geared on the idea that people doesn't care to admit that the problem exists or take initiative to fix it if they never have to look at it. How do I have to look at the "Issues" tab o

Re: A Perspective on D from game industry

2014-06-15 Thread MattCoder via Digitalmars-d
On Sunday, 15 June 2014 at 20:53:58 UTC, w0rp wrote: I'm going to try my hand at making a game with 2.066... It will be open-source? Can you tell what type of game you have in mind? Matheus.

Re: Out of sight out of mind

2014-06-15 Thread Andrew Edwards via Digitalmars-d
On 6/15/14, 4:13 PM, Brad Roberts via Digitalmars-d wrote: While I agree that some of these points are true, what's not true is that the use of bugzilla and it's separateness from github is the cause. Bugzilla has a similar set of features for categorization and future release management as gith

Re: Out of sight out of mind

2014-06-15 Thread David Nadlinger via Digitalmars-d
On Sunday, 15 June 2014 at 20:14:09 UTC, Brad Roberts via Digitalmars-d wrote: While I agree that some of these points are true, what's not true is that the use of bugzilla and it's separateness from github is the cause. Bugzilla has a similar set of features for categorization and future rele

Re: A Perspective on D from game industry

2014-06-15 Thread w0rp via Digitalmars-d
I'm going to try my hand at making a game with 2.066, because I believe @nogc is a final piece in a puzzle of making doing that easy. Much like writing bare metal D code without the runtime, I'm going to try my hand at writing D code with the main function marked as @nogc, because I reckon it's

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 1:20 PM, Brad Roberts via Digitalmars-d wrote: You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. I agree. It was not necessary to make his point.

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 1:10 PM, Walter Bright wrote: Xinok does have a point that we all should be aware of. I meant Caligo. My mistake.

Re: A Perspective on D from game industry

2014-06-15 Thread Burp via Digitalmars-d
I work in the game industry so I'm familiar with this type of mindset. Not everyone in my industry is like this, but unfortunately many are(I avoid working with them). He doesn't understand metaprogramming and so dismisses it. He also assumes C++ is all about Java style OOP, when modern st

Re: A Perspective on D from game industry

2014-06-15 Thread Brad Roberts via Digitalmars-d
You'll likely toss me into the same boat as the post you're ranting about, but please, watch the misogynistic language here. On 6/15/14, 8:37 AM, Caligo via Digitalmars-d wrote: I'm so sick of watching narcissistic who just love to broadcast their opinions, enough said.

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 9:20 AM, Xinok wrote: Given that he lives in Italy, it's safe to assume that English is not his first language. But rather than consider what he has to say or dispute his arguments, you completely dismissed his point of view because his level of writing doesn't meet your standards.

Re: Out of sight out of mind

2014-06-15 Thread Brad Roberts via Digitalmars-d
While I agree that some of these points are true, what's not true is that the use of bugzilla and it's separateness from github is the cause. Bugzilla has a similar set of features for categorization and future release management as github. Having bugs tracked via github's issue tracker won't

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 3:53 PM, Walter Bright wrote: On 6/15/2014 12:27 PM, Nick Sabalausky wrote: It really gets me that the same industry which created Frostbite 3, Unreal Engine 4, GTA5, Steam (obviously all enormous investments), mostly done *in* C++ which makes them that much MORE effort, will bitch

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 12:27 PM, Nick Sabalausky wrote: It really gets me that the same industry which created Frostbite 3, Unreal Engine 4, GTA5, Steam (obviously all enormous investments), mostly done *in* C++ which makes them that much MORE effort, will bitch *soo* much about C++ and STILL won't get off

Re: A Perspective on D from game industry

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 6:50 AM, Peter Alexander wrote: The fear of meta programming comes from Boost, and rightly so in my opinion. Boost is written with the assumption that users will never have to read its source code. When it comes to debugging and performance tuning however, that assumption is shattere

Re: A Perspective on D from game industry

2014-06-15 Thread Nick Sabalausky via Digitalmars-d
On 6/15/2014 7:45 AM, Dicebot wrote: I like how he says that productivity is important and mentions fear of meta-programming in the same article ;) Or how productivity is important, but fixing C++'s death-by-a-thousand-cuts productivity killers by...fixing those many little cuts as he alrea

Re: Out of sight out of mind

2014-06-15 Thread bearophile via Digitalmars-d
Andrew Edwards: How do you recover your work from the GitHub five years from now when GitHub falls off the edge of the earth Online sites are ephemeral. So unless there is a way to move the bug repository off GitHub if the need arises, I am not going to appreciate the idea of moving bugs to

Re: Out of sight out of mind

2014-06-15 Thread Jeremy DeHaan via Digitalmars-d
On Sunday, 15 June 2014 at 15:37:22 UTC, Andrew Edwards wrote: Observe the following truths: 1) Issue tricking and resolution are kept separate in our community 2) That which is not visible garners no attention Presently, we file bugs/issues through issues.dlang.org, the maintenance o

Re: A Perspective on D from game industry

2014-06-15 Thread Jesse Phillips via Digitalmars-d
On Sunday, 15 June 2014 at 16:20:28 UTC, Xinok wrote: Location: Italy Qualifications: Rendering Engineer https://www.blogger.com/profile/01477408942876127202 Given that he lives in Italy, it's safe to assume that English is not his first language. But rather than consider what he has to say or

Re: Out of sight out of mind

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 8:37 AM, Andrew Edwards wrote: Take issue #143 for instance. Convenient linky: https://issues.dlang.org/show_bug.cgi?id=143

Re: A Perspective on D from game industry

2014-06-15 Thread Meta via Digitalmars-d
On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand what people think of D. I can confirm this sentiment is fairly

Re: A Perspective on D from game industry

2014-06-15 Thread Caligo via Digitalmars-d
I didn't make the assumption that English is his mother tongue; however, judging by his writing, I can tell that he's been using the English language for at least a few years. In any case, the idea of a sentence or a paragraph is not unique to the English language. You learn what a sentence is an

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 2:30 AM, Maxim Fomin wrote: On Wednesday, 11 June 2014 at 16:50:30 UTC, Walter Bright wrote: On 6/11/2014 4:34 AM, Timon Gehr wrote: Not memory safe implies (is supposed to imply) not @safe but not @safe does not imply not memory safe. @safe in D == memory safe. Why? I found do

Re: Tail pad optimization, cache friendlyness and C++ interrop

2014-06-15 Thread Walter Bright via Digitalmars-d
On 6/15/2014 2:48 AM, Timon Gehr wrote: On 06/15/2014 10:33 AM, Walter Bright wrote: What Timon is saying is that not all memory safe code is verifiably @safe. In D, they are defined to be the same thing, Since when? http://dlang.org/function "Function Safety Safe functions are functions

DIP63 : operator overloading for raw templates

2014-06-15 Thread Dicebot via Digitalmars-d
http://wiki.dlang.org/DIP63 This is solution for a problem I am currently having with implementing http://wiki.dlang.org/DIP54 (afair it was also mentioned by Timon Gehr during old discussion of that DIP) New proposed semantics ( to catch your attention and get to read the link ;) ): templ

Re: Out of sight out of mind

2014-06-15 Thread Andrew Edwards via Digitalmars-d
On 6/15/14, 11:46 AM, Dicebot wrote: Big problem with GitHub issues is how simplistic those are. All Simplistic they are indeed. But how does that detract from the utility of the product. As programmers we are may be drawn to complexity, but some things need not be complex to be effective.

Re: Rosettacode example collection

2014-06-15 Thread bearophile via Digitalmars-d
Thomas Mader: My primary goal for now is to compare the benchmark game implementations of Java to see how D performs against them in terms of compilation time and performance. So you are missing most of the point of using D, and you are perhaps even relying too much on the D GC, that is much

Re: Out of sight out of mind

2014-06-15 Thread Andrew Edwards via Digitalmars-d
On 6/15/14, 12:21 PM, bearophile wrote: Andrew Edwards: Already proven a valuable resource, GitHub offers the tools necessary to resolve this problem. The "issues" feature (not currently activated for any D-Programming-Language repo) allows us to set milestones (with due dates), assign tasks, a

Re: Rosettacode example collection

2014-06-15 Thread Thomas Mader via Digitalmars-d
Nothing exciting, but I tried to port the Java implementations of the benchmark game [1] to D. [2] My focus was to use the same algorithm/abstraction used in the Java implementation. I haven't finished the porting of all benchmarks but you can use them if they help you. May I ask you what you

Re: A Perspective on D from game industry

2014-06-15 Thread Brian Rogoff via Digitalmars-d
On Sunday, 15 June 2014 at 16:02:18 UTC, Dicebot wrote: Another thing I have found funny is that how he both mentions GC as an issue an favors Go (with mandatory GC) over Rust (dismissing it memory model as irrelevant). Well, he mentioned that Go's mandatory GC is a negative in game dev, and

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread Trass3r via Digitalmars-d
It is default windows runtime behavior Yeah but couldn't/shouldn't it let breakpoints through?

Re: A Perspective on D from game industry

2014-06-15 Thread Abdulhaq via Digitalmars-d
On Sunday, 15 June 2014 at 13:19:12 UTC, Russel Winder via Digitalmars-d wrote: On Sun, 2014-06-15 at 12:30 +, Abdulhaq via Digitalmars-d wrote: […] learning the Android API - after all, JDK8 + tooling is bearable now. On the other hand Android API is Apache Harmony which is Java 6. Ye

Re: A Perspective on D from game industry

2014-06-15 Thread bearophile via Digitalmars-d
Brian Rogoff: On Sunday, 15 June 2014 at 12:20:13 UTC, bearophile wrote: A language has both ~native efficiency and is usable for that level of interactivity is Julia :-) My own experiments with Julia massively contradict that statement. I wrote some basic scripting programs that read lar

Re: Out of sight out of mind

2014-06-15 Thread Dicebot via Digitalmars-d
On Sunday, 15 June 2014 at 16:21:03 UTC, bearophile wrote: Andrew Edwards: Already proven a valuable resource, GitHub offers the tools necessary to resolve this problem. The "issues" feature (not currently activated for any D-Programming-Language repo) allows us to set milestones (with due da

Re: A Perspective on D from game industry

2014-06-15 Thread Xinok via Digitalmars-d
On Sunday, 15 June 2014 at 15:37:51 UTC, Caligo via Digitalmars-d wrote: I can't take a blog post seriously when it's poorly written and full of grammatical errors. If you are in an engineering field of any kind, and you can't construct a paragraph in your favorite natural language, you're not

Re: Out of sight out of mind

2014-06-15 Thread bearophile via Digitalmars-d
Andrew Edwards: Already proven a valuable resource, GitHub offers the tools necessary to resolve this problem. The "issues" feature (not currently activated for any D-Programming-Language repo) allows us to set milestones (with due dates), assign tasks, and create and apply labels (multiple w

Re: A Perspective on D from game industry

2014-06-15 Thread Dicebot via Digitalmars-d
On Sunday, 15 June 2014 at 13:50:10 UTC, Peter Alexander wrote: On Sunday, 15 June 2014 at 11:45:30 UTC, Dicebot wrote: I like how he says that productivity is important and mentions fear of meta-programming in the same article ;) That's true, but meta programming is just a tool. Would be nice

Re: A Perspective on D from game industry

2014-06-15 Thread Dicebot via Digitalmars-d
On Sunday, 15 June 2014 at 15:31:40 UTC, Brian Rogoff wrote: On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand wh

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread Maxim Fomin via Digitalmars-d
On Sunday, 15 June 2014 at 14:50:30 UTC, Trass3r wrote: void main() { asm { int 3; } } object.Error: Breakpoint 0x00402013 in _Dmain at bptest.d(6) 0x00402314 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1() 0x0040

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread Maxim Fomin via Digitalmars-d
On Sunday, 15 June 2014 at 15:23:29 UTC, Marc Schütz wrote: On Sunday, 15 June 2014 at 14:50:30 UTC, Trass3r wrote: void main() { asm { int 3; } } object.Error: Breakpoint 0x00402013 in _Dmain at bptest.d(6) 0x00402314 in void rt.dmain2._d_run_main(int, char**, extern

Re: A Perspective on D from game industry

2014-06-15 Thread Peter Alexander via Digitalmars-d
On Sunday, 15 June 2014 at 15:31:40 UTC, Brian Rogoff wrote: On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand wh

Re: Out of sight out of mind

2014-06-15 Thread Dicebot via Digitalmars-d
Big problem with GitHub issues is how simplistic those are. All categorization is done by labels with no internal differentiation, advanced search queries are not possible. Also bugzilla is self-hosted solution we have full control about and with GitHub you can only rely on what external API ex

Re: A Perspective on D from game industry

2014-06-15 Thread Brian Rogoff via Digitalmars-d
On Sunday, 15 June 2014 at 12:20:13 UTC, bearophile wrote: Peter Alexander: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 From the post: If I have to point at what is most needed for productivity, I'd say interactivity. Interactive visualization, manipulation, REPLs

Out of sight out of mind

2014-06-15 Thread Andrew Edwards via Digitalmars-d
Observe the following truths: 1) Issue tricking and resolution are kept separate in our community 2) That which is not visible garners no attention Presently, we file bugs/issues through issues.dlang.org, the maintenance of which is no small task and is certainly appreciated. However, it

Re: A Perspective on D from game industry

2014-06-15 Thread Caligo via Digitalmars-d
I can't take a blog post seriously when it's poorly written and full of grammatical errors. If you are in an engineering field of any kind, and you can't construct a paragraph in your favorite natural language, you're not worth anyone's time. The author of that blog is nothing but a sophisticated

Re: A Perspective on D from game industry

2014-06-15 Thread Brian Rogoff via Digitalmars-d
On Sunday, 15 June 2014 at 11:28:12 UTC, Peter Alexander wrote: http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1 The arguments against D are pretty weak if I'm honest, but I think it's important we understand what people think of D. I can confirm this sentiment is fairly

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread Trass3r via Digitalmars-d
Win7 x64

Re: Why are breakpoints caught by the runtime?

2014-06-15 Thread via Digitalmars-d
On Sunday, 15 June 2014 at 14:50:30 UTC, Trass3r wrote: void main() { asm { int 3; } } object.Error: Breakpoint 0x00402013 in _Dmain at bptest.d(6) 0x00402314 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1() 0x0040

  1   2   >