Re: Call C (or C++) with pointer to static function

2010-10-11 Thread Michael Stover
does have to work on Mac, Windows, and Linux user desktops. -Mike On Mon, Oct 11, 2010 at 9:56 AM, Lars T. Kyllingstad wrote: > On Sun, 10 Oct 2010 20:30:52 -0400, Michael Stover wrote: > > > Can one call fortran libraries from D? Ie, say one wanted to use LAPACK > > from D? &

What do people here use as an IDE?

2010-10-12 Thread Michael Stover
Elephant appears dead. Poseidon's activity is extremely low and is still alpha after 5 years. LEDS is even less active, and DDT doesn't have a release yet. What do actual D programmers use? -Mike

Re: What do people here use as an IDE?

2010-10-12 Thread Michael Stover
wrote: > I'm by no means an "actual D programmer" but I like to use Code::Blocks. > I've heard VisualD and Descent are also very nice. > There's also a guy working on D.dev ( > http://d-dev-ide.blogspot.com/2010/07/ddev-progress-july-2010.html). &

Re: What do people here use as an IDE?

2010-10-12 Thread Michael Stover
nd Descent are also very nice. > > There's also a guy working on D.dev ( > > http://d-dev-ide.blogspot.com/2010/07/ddev-progress-july-2010.html). > > > > On Tue, Oct 12, 2010 at 8:57 PM, Michael Stover > > wrote: > > > >> Elephant appears dead.

Re: What do people here use as an IDE?

2010-10-12 Thread Michael Stover
el wrote: > On 10/12/2010 9:57 PM, Michael Stover wrote: > >> Elephant appears dead. Poseidon's activity is extremely low and is >> still alpha after 5 years. LEDS is even less active, and DDT doesn't >> have a release yet. What do actual D programmers use? >&

Re: What do people here use as an IDE?

2010-10-12 Thread Michael Stover
Read it's home page. In bold letters, it says *This project is dead. Please use http://code.google.com/a/eclipselabs.org/p/ddt/* * * *I take them at the word since I don't know any better :-) * On Tue, Oct 12, 2010 at 10:20 PM, Eric Poggel wrote: > On 10/12/2010 10:11 PM, Michael

Re: What would you rewrite in D?

2010-10-14 Thread Michael Stover
An operating system written in D would be really interesting. On Thu, Oct 14, 2010 at 11:05 AM, Andrej Mitrovic < andrej.mitrov...@gmail.com> wrote: > On 10/6/10, Nick Sabalausky wrote: > > "sybrandy" wrote in message > > news:i8g8oi$1hv...@digitalmars.com... > >> Just asking out of curiosity.

Re: duck!

2010-10-16 Thread Michael Chen
totally agreeed. let advertisability to influence a function name is ridiculous to me. you gotta have some princeple for names, but advertisability? i dont think so. On Sunday, October 17, 2010, Steven Schveighoffer wrote: > On Sat, 16 Oct 2010 16:26:15 -0400, Walter Bright > wrote: > > > Steve

Re: [challenge] Limitation in D's metaprogramming

2010-10-18 Thread Michael Stone
bearophile Wrote: > Jonathan M Davis: > > > You can think of a monad as an extra parameter which is passed to each > > function > > and holds the global state. It isn't a hole in purity at all. For instance, > > it's > > how Haskell manages to have I/O and yet be functionally pure. You don't

Re: D mentioned in GameDev article "What Language Do I Use?"

2013-08-04 Thread Michael Tanczos
On Friday, 2 August 2013 at 02:26:27 UTC, Nick Sabalausky wrote: On Fri, 02 Aug 2013 03:27:22 +0200 "Mike Parker" wrote: Yea, I've seen at least one moderator there who tended to be a bit of an ass (not necessarily D related), but that was several years ago. Glad it's

Re: Dejavu

2009-06-25 Thread Michael P.
Derek Parnell Wrote: > On Fri, 26 Jun 2009 12:55:32 +1200, Tim Matthews wrote: > > > Did you take note of what I said in d.learn under a subject named "Tango > > Jake or other build system for Linux". > > Actually I tried hard to ingore that one ... just kidding :-) > > I might have to come b

Re: The XML module in Phobos

2009-07-30 Thread Michael Rynn
On Mon, 27 Jul 2009 20:15:46 -0400, llee wrote: >The std.xml module contains several bugs that need to be fixed. The most >important one is that the parser fails to parse empty elements (IE elements >that use the format). I'd like to report this bug to the >modules' maintainer, but I don't kn

Re: The XML module in Phobos

2009-07-30 Thread Michael Rynn
On Thu, 30 Jul 2009 18:03:39 +1000, Michael Rynn wrote: corrections.. >I had little trouble in compiling a static library version of the >Expat 2.01 Whoops, I used an import library to the LibExpat.dll. >Pity I seen jobs yet offering for D language programmers. Any jobs in Sydney Austra

Re: Contextualizing keywords

2009-08-03 Thread Michael Mittner
Robert Fraser wrote: > Thoughts? Maybe doing more things analog to scope(exit/etc) might be an idea, where we have one "major" keyword and a couple of "minor" ones that differentiate the meaning further. -Mike

Re: Contextualizing keywords

2009-08-03 Thread Michael Mittner
Ary Borenszweig wrote: > Yes. Maybe every keyword could be just "keyword(...)". For example: > keyword(static), keyword(final), etc. For example this code now: > > pure SomeType foo() { > } > > would be, with this change: > > keyword(pure) SomeType foo() { > } > > Hmm... > > Or maybe: > > @p

Re: The XML module in Phobos

2009-08-04 Thread Michael Rynn
On Sun, 02 Aug 2009 00:25:20 -0400, Benji Smith wrote: > An interface using D ranges for the parser? First you get the parser. There is a lot of prior art, especially java based open source. For instance see http://www.xmlpull.org/history/index.html. Existing XML parsers vary and trade off var

Re: Contextualizing keywords

2009-08-04 Thread Michael Mittner
Jarrett Billingsley wrote: > You referring to that blogger who said he was "ready for languages > with keywords enclosed in XML tags" after seeing a D presentation? ;) No, I didn't see that one.

New XML parser written for D1 and D2. - XMLP_01.zip (0/1)

2009-10-14 Thread Michael Rynn
has a base module name of xmlp. I am not aiming for std.xml as yet. - Michael Rynn

New XML parser written for D1 and D2.

2009-10-14 Thread Michael Rynn
he 56 KB source code zip? - Michael Rynn

Is it possible that the Karmic upgrade interferes with dmd?

2009-10-29 Thread Michael Mittner
I've got a very strange problem and I wanted to ask if you guys have any ideas. Yesterday I compiled my project with dmd 1.041 and Tango and it worked. Today I compiled the same code again to get started (I sometimes like to just do a full rebuild to get started) and I get this message: /usr/l

Re: Is it possible that the Karmic upgrade interferes with dmd?

2009-10-29 Thread Michael Mittner
Walter Bright wrote: > It could be that the C library routine strtold(), which the lexer relies > on, changed. That has nothing to do with linking. Hmm. This is where dmd struggles: 641:[0x1.a5f1c2eb3fe4efp+73, 0x1.A5F1C2EB3FE4EFp-1, 74],// normal I have no idea how the lexer works, b

Re: Is it possible that the Karmic upgrade interferes with dmd?

2009-10-30 Thread Michael Mittner
Don wrote: > That's odd. Please try adding an 'L' to end of each of each constant. > [0x1.a5f1c2eb3fe4efp+73L, 0x1.A5F1C2EB3FE4EFp-1L, 74], Oh, I'm really sorry, I copied the wrong line (this was 640). Here's the guilty line (641, this time for real): [0x1.fa01712e8f0471ap-1064, 0x

XML parser for D1 Phobos and Tango and D2 published

2009-11-01 Thread Michael Rynn
No one seems to be answering ad...@dsource.org. Either they or I am a dead person. Believing the former to be much more likely, I have setup , at least for the time being a server at http://source.miryn.org running trac and subversion. I am not a natural server admin or web designer, so getti

Re: The Thermopylae excerpt of TDPL available online

2009-11-03 Thread Michael Rynn
123. 30 You didn't mention the in operator for AA returns a pointer to the keys value, or null This got me a little worried, as I liked using the value returned by in operator, and had not used .get at all. P 128 20-25 .."To support this encoding, Unicode allocates no valid charact

Re: SIMD/intrinsincs questions

2009-11-08 Thread Michael Farnsworth
On 11/08/2009 06:35 PM, Robert Jacques wrote: On Sun, 08 Nov 2009 17:47:31 -0500, Lutger wrote: Mike Farnsworth wrote: ... Of course, there are some operations that the available SSE intrinsics cover that the compiler can't expose via the typical operators, so those still need to be support

Re: SIMD/intrinsincs questions

2009-11-09 Thread Michael Farnsworth
On 11/08/2009 11:28 PM, Robert Jacques wrote: By design, D asm blocks are separated from the optimizer: no code motion, etc occurs. D2 just changed fixed sized arrays to value types, which provide most of the functionality of a small vector struct. However, actual SSE optimization of these types

Re: Go: A new system programing language

2009-11-10 Thread Michael Farnsworth
On 11/10/2009 09:02 PM, dsimcha wrote: == Quote from Phil Deets (pjdee...@gmail.com)'s article On Tue, 10 Nov 2009 21:21:27 -0500, Knud Soerensen <4tuu4k...@sneakemail.com> wrote: Google have made a new language. See http://www.youtube.com/watch?v=rKnDgT73v8s I watched the video. The langua

Re: Important contributions to D by non-guru programmers!

2009-03-25 Thread Michael Mol
Jason House Wrote: > Lutger wrote: > > > Georg Wrede wrote: > >> What would other important web sites be? > > > > I just found www.rosettacode.org, I don't know if it's important but it's > > pretty nice and already has ton's of examples in D. Here is the todo list > > for D: > > > > http://www

Re: Problem with .deb packages

2009-05-24 Thread Michael P.
Bruno Deligny Wrote: > Jesse Phillips a écrit : > > On Sat, 02 May 2009 14:57:43 +0200, Bruno Deligny wrote: > > > >> When i try to install dmd1 or dmd2 on my ubuntu i386 with the deb > >> packages on http://www.digitalmars.com/d/download.html, it says "Error : > >> incorrect Architecture « amd

XMLP

2009-11-16 Thread Michael Rynn
The XMLP project is on DSource. http://www.dsource.org/projects/xmlp I have got as far getting it to pass all the namespace and XML 1.0/1.1 test cases. I have been having a look at the w3c XPath recommendations, but I am still baulking at getting deep into that. -- michael *^&^*

Re: XMLP

2009-11-17 Thread Michael Rynn
wbem start "D2 environment" Codeblocks.exe and run it from a shortcut cmd.exe /K c:\bin\StartMyD2Env.bat Otherwise every old dmd.exe and dll, and other developments systems in forgotten folders in my system path want to get in on the act. -- michael *^&^*

Re: Should the comma operator be removed in D2?

2009-11-17 Thread Michael Rynn
But the expressions may be as complex as you like? Its syntactic sugar folks. Nowhere says you absolutely need it to generate a particular compiled code. But where is the harmful example? Some may want to remove it , in case it can be better used in a future more useful role, or for enforcing source code readability standards. But right now, its in the book! -- michael *^&^*

Re: Conspiracy Theory #1

2009-11-19 Thread Michael Farnsworth
On 11/19/2009 08:52 PM, Sean Kelly wrote: retard Wrote: Thu, 19 Nov 2009 11:47:46 -0800, Bill Baxter wrote: It seems to me that MS expects C++ to go the way of FORTRAN and COBAL. Still there, still used, but by an increasingly small number of people for a small (but important!) subset of th

1.044 download does not work

2009-11-28 Thread Michael P.
http://ftp.digitalmars.com/dmd.1.044.zip seems to be dead.

D2 struct as value in Associative Array (issue 1886) still not working.

2009-12-16 Thread Michael Rynn
} I cannot tell from the documentation what is the recommendation D2 struct opAssign. struct seems to work for most of the other facilities in D2. The DPL book fails to cover such intricasies, apart from the metaphorical "There be Dragons..". This is wise, since this is flunky. Michael Rynn

D2 struct as value in Associative Array (issue 1886) still not working.

2009-12-17 Thread Michael Rynn
It was easy enough and also more elegant to wrap the struct contents in a class anyway. And this is probably a good thing. Still , its a bug in D2 types functionality. Michael Rynn

Re: D+Ubuntu+SDL_image said undefined reference

2009-12-30 Thread Michael P.
alisue Wrote: > alisue Wrote: > > Wow. Solved. > > What I did is that compile SDL_video.d and SDL_image.d like: > -- > $ gdc -c hello.d -ISDL > $ gdc -c SDL/SDL_image.d -ISDL > $ gdc -c SDL/SDL_video.d -ISDL > $ gdc -ohello hello.o

Re: Does functional programming work?

2010-01-04 Thread Michael Rynn
On Mon, 04 Jan 2010 04:10:28 +, retard wrote: > Sat, 02 Jan 2010 12:23:36 -0800, Walter Bright wrote: > >> yigal chripun wrote: >>> Have you ever actually used Smalltalk?? I have used it and it's the >>> easiest language to use by far, having conditionals as methods of >>> Boolean is much bet

Re: Making all strings UTF ranges has some risk of WTF

2010-02-05 Thread Michael Rynn
On Thu, 04 Feb 2010 18:41:48 -0700, Rainer Deyke wrote: > Andrei Alexandrescu wrote: >> One idea I've had for a while was to have a universal string type: >> >> struct UString { >> union { >> char[] utf8; >> wchar[] utf16; >> dchar[] utf32; >> } >> enum Discrim

Re: Array literals MUST be immutable.

2010-02-17 Thread Michael Rynn
therefore should not be a immutable array. [&static1, &static2] might be an immutable array created in the binary image. Am I too pedantic or what? Michael Rynn...

Re: Array literals MUST be immutable.

2010-02-17 Thread Michael Rynn
ion? Why not make it locally without the function call overhead? int *p = &something; int*[] mypointers = [p, p+1]; // this should not be a literal, but memory allocated like a structure. Am I too pedantic or what? Michael Rynn...

Re: Array literals MUST be immutable.

2010-02-17 Thread Michael Rynn
int*[] mypointers = [&static1, &static2]; // this looks like a literal, known at compile time. but could also be memory filled in dynamically at point of execution. If mypointers is static then it is immutable?. How does it work for struct? Michael Rynn...

Re: Empty array literals

2010-03-07 Thread Michael Rynn
t; to a class or struct function of a Tree, AA or trie? Is there any great advantage to the AA being struct rather than class based? I might like to upload the radix tree implementation, to see how it can be improved. Thanks, Michael R.

Re: inheriting constructos

2010-03-07 Thread Michael Rynn
On Fri, 04 Dec 2009 10:05:16 +0200, Lionello Lunesu wrote: > Perhaps reusing a constructor of an inherited class should be easier. > Something like "alias this"? But how to refer to specific ctor > overloads? > > L. > > On 30-11-2009 1:03, Andrei Alexandrescu wrote: >> Walter and I just discusse

Re: Is D a cult?

2010-03-08 Thread Michael Rynn
On Mon, 08 Mar 2010 06:57:00 -0500, Hamish McTavish wrote: > Jane Doe Wrote: > >> Is D a cult? >> >> >> > Who you calling a cult? http://en.wikipedia.org/wiki/Cult Cult pejoratively refers to a group whose beliefs or practices could be, reasonably or unreasonably, considered strange. The te

GC.calloc with random bits causes slowdown, also seen in built in AA

2010-03-10 Thread Michael Rynn
ement removed on the release compile. The trie class however, at least can do prefix key completion well. PyDictD1 is updated with the same change. The code is updated in SVN, so anyone can check out the changes. (and even update with any Dsource login). --tof-- Michael Rynn

Re: GC.calloc with random bits causes slowdown, also seen in built in AA

2010-03-11 Thread Michael Rynn
r for others to try it out in existing code and uncover quirks and limitations. Then there might be benefits. -- taf Michael

Re: GC.calloc with random bits causes slowdown, also seen in built in AA

2010-03-12 Thread Michael Rynn
This is strange, because a winmerge comparison of the D-runtime source aaA.d, showed no significant difference apart from the removal of a AA_equals function. Back next week --=taf Michael.

Re: GC.calloc with random bits causes slowdown, also seen in built in AA

2010-03-12 Thread Michael Rynn
rformance effect of wrapping the modified PyDict class as an implementation reference inside the struct. Back next week --=taf Michael.

Re: GC.calloc with random bits causes slowdown, also seen in built in AA

2010-03-14 Thread Michael Rynn
test builtin AA, but does not slow anything down. Once the builtin AA tests have been run, everything slows down, including the pydict. Michael

Associative Arrays need cleanout method or property to help garbage collection

2010-03-15 Thread Michael Rynn
The use of built in Associative Array can have deleterious effects on Garbage Collection. D by default uses garbage collection for memory management. This means that any blocks of memory that contain random bits can be mistaken as containing pointers to valid data, and can prevent complete m

Re: Associative Arrays need cleanout method or property to help garbage collection

2010-03-16 Thread Michael Rynn
On Tue, 16 Mar 2010 16:12:25 +, Moritz Warning wrote: > On Tue, 16 Mar 2010 04:41:55 +0000, Michael Rynn wrote: > >> The use of built in Associative Array can have deleterious effects on >> Garbage Collection. > :( > > > Fwiw, here is the original Python Dic

Re: Associative Arrays need cleanout method or property to help garbage collection

2010-03-16 Thread Michael Rynn
On Tue, 16 Mar 2010 16:12:25 +, Moritz Warning wrote: > On Tue, 16 Mar 2010 04:41:55 +0000, Michael Rynn wrote: > >> The use of built in Associative Array can have deleterious effects on >> Garbage Collection. > :( > > > Fwiw, here is the original Python Dic

Re: Associative Arrays need cleanout method or property to help garbage collection

2010-03-21 Thread Michael Rynn
On Sat, 20 Mar 2010 16:55:15 -0300, Robert Jacques wrote: > On Wed, 17 Mar 2010 02:57:34 -0300, Michael Rynn > wrote: > [snip] >> I want to add that the problems of AA with garbage collection are not >> particular to the implementation of built-in AA. The number of nod

Re: Associative Arrays need cleanout method or property to help

2010-03-23 Thread Michael Rynn
ster for lookups). Insertions and cleanups are faster too. -- taf Michael Rynn.

Re: storing the hash multiplier instead of the hash value

2010-03-23 Thread Michael Rynn
y which template is going to be instantiated. And having a low code size, one or few versions fit all approach, that performance sacrifice is unavoidable in a basic runtime libary. But in template land , options and combinations and gains abound. --- Michael Rynn

Re: Associative Arrays need cleanout method or property to help

2010-03-23 Thread Michael Rynn
On Tue, 23 Mar 2010 13:41:56 -0700, Walter Bright wrote: > Michael Rynn wrote: >> On Mon, 22 Mar 2010 00:52:24 -0700, Walter Bright wrote: >> >>> bearophile wrote: >>>> A way to know the usage patterns of D AAs is to add instrumentation >>>> in non

Re: Associative Arrays need cleanout method or property to help

2010-03-24 Thread Michael Rynn
> > so I don't see where the linear congruent random probe thingy is . > You *could* get rid of the left and right pointers and use linear > congruent probing, and that might be worth a try. Thank you for the suggestion , I will give it a try. --- Michael Rynn

Druntime AA interface could be enhanced a bit

2010-04-09 Thread Michael Rynn
In playing around trying to understand and make a better AA, I have updated again the dsource/projects/aa/trunk/druntime/aaA.d, this time to be a single linked list version. In the template versions of various implementations, and in Java HashMap, I noticed that its nice to be able to specif

Re: Druntime AA interface could be enhanced a bit

2010-04-13 Thread Michael Rynn
On Fri, 09 Apr 2010 12:08:54 -0700, Walter Bright wrote: > Michael Rynn wrote: >> In playing around trying to understand and make a better AA, I have >> updated again the dsource/projects/aa/trunk/druntime/aaA.d, this time >> to be a single linked list version. > > I d

Re: Things I Learned from ACCU 2010

2010-04-23 Thread Michael Rynn
bad example of > Haskell programming, it's not enough to dismiss it because Russel is not > a Haskell expert. OK where's the naive version of the D Pi program that scales up with 1,2,4 cores? How far off are we? Is the concurrency module working with it yet? -3.-1-4-1-5-9.. Michael Rynn

should D have a set of tutorials for it?

2008-11-21 Thread Michael P.
beginners, and I think there should be. I would be happy to start off some, even if there are only very simple. I have a fairly good grasp on programming and the D language. I think it would help the D community, because D would then be a fairly viable option for a first language. Anyone else agree? -Michael P.

Re: should D have a set of tutorials for it?

2008-11-21 Thread Michael P.
Nick B Wrote: > Michael P. wrote: > > For D, there isn't really much that you can learn from other than the > > tutorials at DSource, a tutorial at that can be located here: > > http://compsci.ca/v3/viewtopic.php?t=9518 > > (It's not very well known, so it&

Re: should D have a set of tutorials for it?

2008-11-22 Thread Michael P.
is: http://www.cprogramming.com/tutorial.html I would be completely willing to right them, if they would get even a little bit of usage. -Michael P.

Re: should D have a set of tutorials for it?

2008-11-23 Thread Michael P.
Walter Bright Wrote: > Michael P. wrote: > > I would be completely willing to right them, if they would get even a > > little bit of usage. > > If they're good, I can do some promotion of them. I have to make them good too??? :P Oh my god!! I'll probabl

Re: More phpBB like forum?

2008-12-09 Thread Michael P.
Daniel White Wrote: > Hi all, > Is it just me, or does anyone think it may be a good idea to use a > phpBB style forum instead/aswell? I understand the reasoning behind > the current system, as many of you have dedicated news readers which > parse the emailed posts into a more thread like manner a

Re: dmd platform support - poll

2008-12-26 Thread Michael P.
Nick Sabalausky Wrote: > "Chad J" wrote in message > news:gj1uou$1ct...@digitalmars.com... > > Walter Bright wrote: > >> Chad J wrote: > >>> Or, better yet: > >>> Cross-platform C code. > >>> Get me that and I have a lot less reason to even care about the others. > >> > >> The problem with gener

Re: dmd platform support - poll

2008-12-26 Thread Michael P.
Nick Sabalausky Wrote: > "Michael P." wrote in message > news:gj39a7$gb...@digitalmars.com... > > Nick Sabalausky Wrote: > > > >> "Chad J" wrote in message > >> news:gj1uou$1ct...@digitalmars.com... > >> > Walter Bright

Re: D on gamedev.net

2009-01-12 Thread Michael P.
Walter Bright Wrote: > http://www.gamedev.net/community/forums/topic.asp?topic_id=520302 Yah, D exposure! :)

Re: Pitching D to academia

2016-03-09 Thread Michael via Digitalmars-d
On Sunday, 6 March 2016 at 08:40:17 UTC, Ola Fosheim Grøstad wrote: On Sunday, 6 March 2016 at 07:38:01 UTC, Ali Çehreli wrote: Motivated by Dmitry's "Pitching D to a gang of Gophers" thread, how about pitching it to a gang of professors and graduate students? The geeky graduate students are

Re: Free the DMD backend

2016-05-31 Thread Michael via Digitalmars-d
On Monday, 30 May 2016 at 15:06:42 UTC, Saurabh Das wrote: On Monday, 30 May 2016 at 14:51:48 UTC, Matthias Klumpp wrote: The case for DMD though is compile speed. It really changes the way one writes programs and makes it possible to write bash script-like functionality in D because of a rapi

Re: I'd love to see DScript one day ...

2016-06-11 Thread Michael via Digitalmars-d
Having DScript running in the browser and D on the server would be an absolute dream to develop with. It might also turn a few heads our way.

Re: Card on fire

2016-07-12 Thread Michael via Digitalmars-d
On Monday, 11 July 2016 at 21:29:49 UTC, Walter Bright wrote: On 7/11/2016 7:49 AM, Meta wrote: It wouldn't happen to be an nVidia card, would it? MSI GeForce GT 720 DirectX 12 N720-1GD3HLP 1GB 64-Bit DDR3 PCI Express 2.0 x16 HDCP Ready Video Card The fire happened at the junction between t

Re: The name "Phobos" in user-facing docs

2018-01-12 Thread Michael via Digitalmars-d
On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote: After having started learning some D lately, two things about the standard library have struck me: 1. It has its own name. Phobos. This is unusual. I don't know of any other language who's std lib has any name other than "the {

Re: The name "Phobos" in user-facing docs

2018-01-12 Thread Michael via Digitalmars-d
On Friday, 12 January 2018 at 22:26:38 UTC, Michael wrote: On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote: [...] I mean, you're correct to say it's an artifact of D being an old language. Tango was the original, and Phobos was introduced for D2 as a competing

Re: How programmers transition between languages

2018-01-28 Thread Michael via Digitalmars-d
On Friday, 26 January 2018 at 09:02:03 UTC, Ola Fosheim Grøstad wrote: While this analysis of language popularity on Github is enlightening: http://www.benfrederickson.com/ranking-programming-languages-by-github-users/ I found the older analysis of how programmers transition (or adopt new lan

Re: How programmers transition between languages

2018-01-28 Thread Michael via Digitalmars-d
On Sunday, 28 January 2018 at 13:50:03 UTC, Michael wrote: On Friday, 26 January 2018 at 09:02:03 UTC, Ola Fosheim Grøstad wrote: [...] I find it fascinating that C# is in the "languages to avoid" section, because from my perspective it's receiving more and more adoptio

Re: How programmers transition between languages

2018-01-28 Thread Michael via Digitalmars-d
On Sunday, 28 January 2018 at 15:36:17 UTC, bachmeier wrote: On Sunday, 28 January 2018 at 13:50:03 UTC, Michael wrote: Most people at my university, outside of the computer science department, that are using languages like Python and R and MATLAB the most, are very aware of Rust and Go, but

Re: How programmers transition between languages

2018-01-29 Thread Michael via Digitalmars-d
On Monday, 29 January 2018 at 03:22:54 UTC, Ola Fosheim Grøstad wrote: On Sunday, 28 January 2018 at 23:09:00 UTC, Michael wrote: by the whole target audience. Rust, on the other hand, seems to be picking up those who have left Go. I guess some go to Rust after working with Go, but the

Re: Should negating an unsigned integral be an error?

2018-01-30 Thread Michael via Digitalmars-d
On Monday, 29 January 2018 at 10:06:41 UTC, Jonathan M Davis wrote: On Monday, January 29, 2018 09:58:00 Dave Jones via Digitalmars-d wrote: Given uint i = 12345; should writeln(-i) be an error? or maybe i should be automatically cast to a larger signed type? It arguably should be, but it

Re: Should negating an unsigned integral be an error?

2018-01-30 Thread Michael via Digitalmars-d
On Tuesday, 30 January 2018 at 14:08:41 UTC, bauss wrote: On Tuesday, 30 January 2018 at 11:09:08 UTC, Michael wrote: On Monday, 29 January 2018 at 10:06:41 UTC, Jonathan M Davis wrote: On Monday, January 29, 2018 09:58:00 Dave Jones via Digitalmars-d wrote: Given uint i = 12345; should

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Michael via Digitalmars-d
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei I think that the largest issue there is probably the marketing and advocacy. When Rust

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread Michael via Digitalmars-d
On Saturday, 3 February 2018 at 01:52:04 UTC, psychoticRabbit wrote: On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: [...] I think that point hits the cause of your problem with D (along with your need to 'choose' something over 'something' else). [...] I think it is worth mentio

Re: #dbugfix Issue 16189

2018-02-07 Thread Michael via Digitalmars-d
On Wednesday, 7 February 2018 at 08:51:01 UTC, Kirr wrote: https://issues.dlang.org/show_bug.cgi?id=16189 This is a P1 critical DMD bug, silently generating wrong code. Reported one and a half year ago, but exists in DMD compilers going back to DMD 2.050 (possibly more, but this is as far back

Re: A betterC base

2018-02-08 Thread Michael via Digitalmars-d
On Thursday, 8 February 2018 at 14:54:19 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 11:06:15 UTC, ixid wrote: It feels like D has not overcome at least two major issues in the public mind, the built-in GC D is a pragmatic language aimed toward writing fast code, fast. Garbage c

Re: Is it possible to set up DConf Asia?

2018-06-29 Thread Michael via Digitalmars-d
On Friday, 29 June 2018 at 10:12:28 UTC, Mike Parker wrote: I can tell you that DConf Asia is something the Foundation is interested in. It's also something I plan to work toward making happen eventually. We discussed this at our Seoul meetup recently. What I need to know before anything can

Re: throwing lots of resources at a GC

2018-07-23 Thread Michael via Digitalmars-d
On Friday, 20 July 2018 at 00:46:37 UTC, John Belmonte wrote: Interesting (and way too detailed for me) tale of GC adventures in golang: https://blog.golang.org/ismmkeynote Seeing the pretty incredible reductions in additional latency was great. I would love to see some in-depth analysis of

Re: John Regehr on "Use of Assertions"

2018-09-05 Thread Michael via Digitalmars-d
On Saturday, 1 September 2018 at 20:15:15 UTC, Walter Bright wrote: Note the "may or may not be evaluated." We've debated this here before. I'm rather pleased that John agrees with me on this. I.e. the optimizer can assume the expression is true and use that information to generate better cod

Re: Go 1.9

2017-06-25 Thread Michael via Digitalmars-d
On Monday, 19 June 2017 at 15:07:12 UTC, Jack Stouffer wrote: On Monday, 19 June 2017 at 13:24:00 UTC, Russel Winder wrote: The former is not a problem for D, but the latter… Disagree. One of D's biggest competitive advantages is fast compilation of fast code. If other languages become as fas

Re: is the ubuntu sourceforge repository safe?

2017-07-23 Thread Michael via Digitalmars-d
On Saturday, 22 July 2017 at 00:21:45 UTC, Ali wrote: I know that sourceforge doesnt have the best security track record Is it safe thought to use the dmd ubuntu repository hosted there [code] sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d

Re: How do you use D?

2017-07-31 Thread Michael via Digitalmars-d
On Friday, 28 July 2017 at 14:58:01 UTC, Ali wrote: How do you use D? In work, (key projects or smaller side projects) I did my undergraduate in CS where I picked up Python, Java and a little bit of C/C++, but Java was my most familiar language. When I started my PhD in an Engineering Maths d

Re: is the ubuntu sourceforge repository safe?

2017-08-01 Thread Michael via Digitalmars-d
On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote: On Sun, 2017-07-23 at 18:23 +, Michael via Digitalmars-d wrote: I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the

Re: Project Elvis

2017-11-06 Thread Michael via Digitalmars-d
I can't quite see why this proposal is such a big deal to people - as has been restated, it's just a quick change in the parser for a slight contraction in the code, and nothing language-breaking, it's not a big change to the language at all. On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wi

Re: Project Elvis

2017-11-10 Thread Michael via Digitalmars-d
On Friday, 10 November 2017 at 05:23:53 UTC, Adam Wilson wrote: On 11/6/17 12:20, Michael wrote: [...] You're right, I didn't, that was intentional, because sometimes people write things like that. And it took a while for anyone to say anything about it. That is my point. But

Forums intermittently going down?

2018-09-17 Thread Michael via Digitalmars-d
following message: forum.dlang.org is temporarily down for maintenance, and should be back up shortly. Apologies for the inconvenience. Is anyone else experiencing this? I thought it might just be me but it seems to be happening across browsers and on different networks. Thanks, Michael.

Re: Forums intermittently going down?

2018-09-17 Thread Michael via Digitalmars-d
On Monday, 17 September 2018 at 11:51:04 UTC, Vladimir Panteleev wrote: On Monday, 17 September 2018 at 11:02:39 UTC, Michael wrote: It has been occurring for the past two weeks now, at least. When I try to load the forum (on different networks) it will often hang for a while, and when it does

Re: D APT repository fails

2016-07-25 Thread Michael via Digitalmars-d
On Monday, 25 July 2016 at 15:51:50 UTC, Zardoz wrote: I keep seeing along this last month many problems with the D APT repository. There is any one cheeking the health of these repository ? Now I get an error with "http://master.dl.sourceforge.net/project/d-apt/dists/d-apt/main/binary-amd64/P

Re: Any news on DIP88?

2017-03-14 Thread Michael via Digitalmars-d
On Saturday, 11 March 2017 at 19:07:10 UTC, Jonathan M Davis wrote: On Saturday, March 11, 2017 15:25:14 bauss via Digitalmars-d wrote: Are there any news on DIP88? Will it be implemented?, when?, is there an implementation currently in development or? https://wiki.dlang.org/DIP88 So, if so

Re: Named arguments via struct initialization in functions

2016-03-09 Thread Michael Coulombe via Digitalmars-d
On Wednesday, 9 March 2016 at 12:55:16 UTC, Idan Arye wrote: Allowing something like `auto params = [:y : 50, :x : 100]` won't really solve anything. It works nicely in Ruby, because Ruby has dynamic typing and with some syntactic sugar you get elegant syntax for dynamic structs. But in a struc

Re: Named arguments via struct initialization in functions

2016-03-09 Thread Michael Coulombe via Digitalmars-d
On Thursday, 10 March 2016 at 05:17:03 UTC, Michael Coulombe wrote: [...] Whoops, forgot this: private immutable struct KeyWordDollar { @property auto opDispatch(string param, T)(T t) { return Named!(param,T)(t); } }

<    1   2   3   4   >