Re: Adding Markdown to Ddoc

2017-12-12 Thread Jakob Bornecrantz via Digitalmars-d
On Tuesday, 12 December 2017 at 02:30:39 UTC, Walter Bright wrote: On 12/11/2017 2:30 PM, Jakob Bornecrantz wrote: It is not written in D, but the language is close enough in concepts that it can be mechanically ported into D, and is licensed under BOOST. Feel free to do what ever to it[1

Re: Adding Markdown to Ddoc

2017-12-11 Thread Jakob Bornecrantz via Digitalmars-d
On Monday, 11 December 2017 at 20:45:38 UTC, Walter Bright wrote: On 12/11/2017 6:22 AM, Jakob Bornecrantz wrote: There are loads of implementations of CommonMark https://github.com/commonmark/CommonMark/wiki/List-of-CommonMark-Implementations They appear to be libraries that offer an

Re: Adding Markdown to Ddoc

2017-12-11 Thread Jakob Bornecrantz via Digitalmars-d
On Monday, 11 December 2017 at 00:54:00 UTC, Walter Bright wrote: On 12/10/2017 6:22 AM, meppl wrote: I think these are wrong criterias to estimate the value of commonmark. Commonmark doesn't need to list anyone and doesn't need to be listed by anyone to be a standard. commonmark is a standard

Re: Webassembly?

2017-07-06 Thread Jakob Bornecrantz via Digitalmars-d
On Thursday, 6 July 2017 at 22:58:36 UTC, Ola Fosheim Grostad wrote: On Thursday, 6 July 2017 at 18:26:18 UTC, Joakim wrote: so you can seamlessly pass objects to javascript. I believe people have written their own GCs that target webasm, so the D GC can likely be made to do the same. You wo

Re: MS-COFF/PDB support in LLVM/LDC, where are we at?

2017-06-14 Thread Jakob Bornecrantz via Digitalmars-d
On Thursday, 15 June 2017 at 01:34:01 UTC, Manu wrote: Hey people, I haven't checked in for a while, I'm yet again tempted to use D for a small work thing, but I'll need LDC for it, and debuginfo needs to work or it's a non-starter. Does anyone know where that stuff stands? What are the limits

Re: Atila Neves: "C IS NOT MAGICALLY FAST, PART 2"

2016-07-19 Thread Jakob Bornecrantz via Digitalmars-d
On Tuesday, 19 July 2016 at 16:13:21 UTC, Atila Neves wrote: On Tuesday, 19 July 2016 at 16:01:01 UTC, Lodovico Giaretta wrote: On Tuesday, 19 July 2016 at 15:48:26 UTC, Atila Neves wrote: Small string optimization should _help_ std::string, no? Atila Small string optimization will make the

Re: Atila Neves: "C IS NOT MAGICALLY FAST, PART 2"

2016-07-19 Thread Jakob Bornecrantz via Digitalmars-d
On Tuesday, 19 July 2016 at 10:07:11 UTC, Atila Neves wrote: On Tuesday, 19 July 2016 at 02:54:37 UTC, Saurabh Das wrote: Posted on Atila's blog yesterday: https://atilanevesoncode.wordpress.com/2016/07/18/c-is-not-magically-fast-part-2/ So, about D vs C++ there... last night for reasons I f

Re: GPGPU work and Identifiers

2016-06-19 Thread Jakob Bornecrantz via Digitalmars-d
On Sunday, 19 June 2016 at 14:04:15 UTC, Nicholas Wilson wrote: On Sunday, 19 June 2016 at 12:38:00 UTC, Jakob Bornecrantz wrote: On Sunday, 19 June 2016 at 11:12:50 UTC, Nicholas Wilson wrote: This thread is partly to announce that i will be adding to LDC the ability to generate code for GPUs

Re: GPGPU work and Identifiers

2016-06-19 Thread Jakob Bornecrantz via Digitalmars-d
On Sunday, 19 June 2016 at 11:12:50 UTC, Nicholas Wilson wrote: This thread is partly to announce that i will be adding to LDC the ability to generate code for GPUs through OpenCL, CUDA (and if i have time) Metal in my fork at https://github.com/thewilsonator/ldc and partly to request the rese

Re: Phobos Action Items

2016-06-18 Thread Jakob Bornecrantz via Digitalmars-d
On Saturday, 18 June 2016 at 20:04:50 UTC, Walter Bright wrote: 8. create a greenthreads module that works like Goroutines Please don't use the term gorourines when describing a bunch of library functions. There is more to them then just functions. You will need compiler and GC support for th

Re: Pitching D to a gang of Gophers

2016-03-05 Thread Jakob Bornecrantz via Digitalmars-d
On Saturday, 5 March 2016 at 11:05:09 UTC, Dmitry Olshansky wrote: What features you'd highlight to enterprise-ish user? Have go solved stacktraces in gorutines, last I checked this was a big pain point for go developers, otherwise its a good issue to bring up. Cheers, Jakob.

Re: [OT] LLVM Community Code of Conduct

2015-10-29 Thread Jakob Bornecrantz via Digitalmars-d
On Wednesday, 28 October 2015 at 17:36:03 UTC, Walter Bright wrote: On 10/28/2015 2:12 AM, Jakob Bornecrantz wrote: You are not in good company tho. Even the page you link to says nobody else could or should say stuff like that. And attitudes like that will only disurage people from trying to

Re: [OT] LLVM Community Code of Conduct

2015-10-29 Thread Jakob Bornecrantz via Digitalmars-d
On Wednesday, 28 October 2015 at 17:13:27 UTC, deadalnix wrote: http://sarah.thesharps.us/2015/10/05/closing-a-door/ https://mjg59.dreamwidth.org/38136.html These are different times. Yup, professional victim use to not be a viable career path. What do you mean? Cheers, Jakob.

Re: [OT] LLVM Community Code of Conduct

2015-10-28 Thread Jakob Bornecrantz via Digitalmars-d
On Wednesday, 28 October 2015 at 08:36:07 UTC, Walter Bright wrote: On 10/13/2015 12:13 PM, Walter Bright wrote: On 10/13/2015 6:36 AM, Daniel Kozak wrote: lists.llvm.org/pipermail/llvm-dev/2015-October/091218.html Maybe we could have something similar in D community No. People who need to b

Re: John Carmack on Eclipse performance

2013-09-28 Thread Jakob Bornecrantz
On Friday, 27 September 2013 at 11:35:29 UTC, Bruno Medeiros wrote: "Hardware does get faster more rapidly than software gets slower -- I'm finding Eclipse perfectly usable on modern hardware." https://twitter.com/ID_AA_Carmack/status/383334141078429697 I would have liked some more details on

Re: D2 is really that stable as it is claimed to be?

2013-09-21 Thread Jakob Bornecrantz
On Saturday, 21 September 2013 at 18:23:20 UTC, bearophile wrote: Zhouxuan: http://d.puremagic.com/issues/show_bug.cgi?id=11086 http://d.puremagic.com/issues/show_bug.cgi?id=11010 http://d.puremagic.com/issues/show_bug.cgi?id=10970 I've found and reported these bugs after about merely 100 LOCs

Re: Proposed improvements to the separate compilation model

2013-03-04 Thread Jakob Bornecrantz
On Friday, 22 July 2011 at 22:06:20 UTC, Andrei Alexandrescu wrote: [SNIP] Walter is reluctantly on board with a change in this direction, with the note that he'd just recommend interfaces for this kind of separation. My stance in this matter is that we shouldn't constrain without necessit

Re: The new std.process is ready for review

2013-02-23 Thread Jakob Bornecrantz
On Saturday, 23 February 2013 at 11:31:21 UTC, Lars T. Kyllingstad wrote: It's been years in the coming, but we finally got it done. :) The upshot is that the module has actually seen active use over those years, both by yours truly and others, so hopefully the worst wrinkles are already irone

Re: The new std.process is ready for review

2013-02-23 Thread Jakob Bornecrantz
On Saturday, 23 February 2013 at 22:48:04 UTC, H. S. Teoh wrote: On Sat, Feb 23, 2013 at 03:15:26PM -0500, Steven Schveighoffer wrote: On Sat, 23 Feb 2013 11:42:26 -0500, H. S. Teoh wrote: >- wait(): > - Some code examples would be nice. > > - For the POSIX-specific version, I thought the

Re: Learning Haskell makes you a better programmer?

2012-12-25 Thread Jakob Bornecrantz
On Tuesday, 25 December 2012 at 19:37:42 UTC, Walter Bright wrote: I've often heard that claim, but here's an article with what the substance is: http://dubhrosa.blogspot.co.uk/2012/12/lessons-learning-haskell.html?m=1 Note that D offers this style of programming, with checkable purity, immut

Re: Compilation strategy

2012-12-15 Thread Jakob Bornecrantz
On Saturday, 15 December 2012 at 17:05:59 UTC, Peter Alexander wrote: On Saturday, 15 December 2012 at 16:55:39 UTC, Russel Winder wrote: A quick straw poll. Do people prefer to have all sources compiled in a single compiler call, or (more like C++) separate compilation of each object followe

Re: New std.process revival

2012-12-07 Thread Jakob Bornecrantz
On Thursday, 6 December 2012 at 18:40:57 UTC, Alex Rønne Petersen wrote: Hi, I decided to take a stab at reviving the new std.process written by Lars T. Kyllingstad and Steven Schveighoffer. The result is here: https://github.com/alexrp/phobos/tree/new-std-process-update https://github.com

Re: Passing static arrays to C

2012-10-24 Thread Jakob Bornecrantz
On Wednesday, 24 October 2012 at 09:03:25 UTC, Jacob Carlborg wrote: On 2012-10-24 09:54, Jakob Bornecrantz wrote: Hey everybody. How are you supposed to pass static arrays to C functions? I'm asking because I'm getting conflicting info from how DMD works and on IRC. The bel

Passing static arrays to C

2012-10-24 Thread Jakob Bornecrantz
Hey everybody. How are you supposed to pass static arrays to C functions? I'm asking because I'm getting conflicting info from how DMD works and on IRC. The below example prints: test1 0x7fff857c1db0 test2 0x7fff857c1db0 test3 (nil) test4 0x7fff857c1db0 D: void main() { float[3] arr

Re: Structs, Speed and refs.

2012-10-23 Thread Jakob Bornecrantz
On Tuesday, 23 October 2012 at 10:36:11 UTC, Daniel Kozák wrote: Hi, First of all, I think there is no difference in speed between LargeStruct foo, too, temp; temp = foo - too; bar.func(temp); and with func without ref. That doesn't seem to be the case, as at least DMD always copies to the s

Structs, Speed and refs.

2012-10-23 Thread Jakob Bornecrantz
Hey everybody! A bit of background; I'm porting some code over from D1 to D2 and I ran into a bit of a problem. I have a bunch of code that looks something like this: class Bar : Other { override void func(ref LargeStruct st) {} } Bar bar; LargeStruct foo, too; bar.func(foo - too); This c

Re: D2 Library Porters

2012-07-03 Thread Jakob Bornecrantz
On Tuesday, 3 July 2012 at 11:43:04 UTC, Iain Buclaw wrote: On 3 July 2012 11:55, Jakob Bornecrantz wrote: On Tuesday, 3 July 2012 at 10:12:39 UTC, Iain Buclaw wrote: Hi, I'm going to be pushing gdc-4.8 package into debian this weekend (give about a fortnight for it to land in sid)

Re: D2 Library Porters

2012-07-03 Thread Jakob Bornecrantz
On Tuesday, 3 July 2012 at 10:12:39 UTC, Iain Buclaw wrote: Hi, I'm going to be pushing gdc-4.8 package into debian this weekend (give about a fortnight for it to land in sid) - is anyone interested in porting Druntime / Phobos over to the architectures that Debian supports? I can give anyon

Re: Productions users

2012-06-28 Thread Jakob Bornecrantz
On Thursday, 28 June 2012 at 07:38:19 UTC, Andrea Fontana wrote: In production it's just a way to say "completed, not still in pre-alpha/alpha/beta/testing phase". Usable. Working. Public :) No difference between commercial, open source, free, etc ... Software is never completed only abandone

Re: D dropped in favour of C# for PSP emulator

2012-05-14 Thread Jakob Bornecrantz
On Saturday, 12 May 2012 at 23:27:15 UTC, Alex Rønne Petersen wrote: You know, my project consisting of 130-ish source files and 24.000-ish lines of code compiles from scratch in ~20 seconds on my machine, building one file at a time... I honestly have not managed to come up with a build syst

Re: Replacing AA's in druntime

2012-03-14 Thread Jakob Bornecrantz
On Wednesday, 14 March 2012 at 23:51:30 UTC, H. S. Teoh wrote: On Thu, Mar 15, 2012 at 12:20:43AM +0100, Jakob Bornecrantz wrote: [...] struct AAver1(K, V) { K[] tbl; V[] tlb2; uint size; } struct AAver2(K, V) { K[] tbl; V[] tbl2; V[] optimizationTbl; } Would break if a AAver1 table

Re: Replacing AA's in druntime

2012-03-14 Thread Jakob Bornecrantz
On Wednesday, 14 March 2012 at 14:02:30 UTC, Steven Schveighoffer wrote: On Tue, 13 Mar 2012 22:39:25 -0400, Jakob Bornecrantz wrote: On Wednesday, 14 March 2012 at 00:52:32 UTC, H. S. Teoh wrote: Hi all, My AA implementation is slowly inching closer to being ready to replace aaA.d. So

Re: Replacing AA's in druntime

2012-03-14 Thread Jakob Bornecrantz
On Wednesday, 14 March 2012 at 13:55:23 UTC, Don Clugston wrote: On 14/03/12 03:39, Jakob Bornecrantz wrote: On Wednesday, 14 March 2012 at 00:52:32 UTC, H. S. Teoh wrote: Hi all, My AA implementation is slowly inching closer to being ready to replace aaA.d. So far I've been writin

Re: Replacing AA's in druntime

2012-03-14 Thread Jakob Bornecrantz
On Wednesday, 14 March 2012 at 09:07:40 UTC, Dmitry Olshansky wrote: On 14.03.2012 6:39, Jakob Bornecrantz wrote: On Wednesday, 14 March 2012 at 00:52:32 UTC, H. S. Teoh wrote: Hi all, My AA implementation is slowly inching closer to being ready to replace aaA.d. So far I've been wr

Re: Replacing AA's in druntime

2012-03-13 Thread Jakob Bornecrantz
On Wednesday, 14 March 2012 at 00:52:32 UTC, H. S. Teoh wrote: Hi all, My AA implementation is slowly inching closer to being ready to replace aaA.d. So far I've been writing the implementation outside of object_.d for ease of testing & development; now I'm ready to start moving stuff into obj

Re: typedef, why did it go? Is there anything instead?

2012-01-23 Thread Jakob Bornecrantz
On Monday, 23 January 2012 at 18:08:51 UTC, Walter Bright wrote: On 1/23/2012 5:08 AM, Iain Buclaw wrote: Walter, what are your views on emitting the names of aliased types to debug? I don't really have an opinion on it, except that generally when I'm debugging I'm interested in what a type r

Re: D1 to be discontinued on December 31, 2012

2011-12-16 Thread Jakob Bornecrantz
On Thursday, 15 December 2011 at 20:42:26 UTC, Jacob Carlborg wrote: On 2011-12-15 20:41, Walter Bright wrote: On 12/15/2011 9:49 AM, Robert Clipsham wrote: * Do it all in one go, and DO NOT GET DISTRACTED. The moment you start trying to clean up code as well as finish porting it you introduce

Re: D1 to be discontinued on December 31, 2012

2011-12-14 Thread Jakob Bornecrantz
On Thursday, 15 December 2011 at 02:10:09 UTC, Walter Bright wrote: On 12/14/2011 4:32 PM, Jakob Bornecrantz wrote: In short it can be answered with the questions "Can you guarantee it work?" A guarantee would be something like you paid $x for it and I would refund your $x if y

Re: D1 to be discontinued on December 31, 2012

2011-12-14 Thread Jakob Bornecrantz
On Thursday, 15 December 2011 at 03:19:47 UTC, Jesse Phillips wrote: On Thu, 15 Dec 2011 01:32:35 +0100, Jakob Bornecrantz wrote: My current code base is 40Kloc's where about 8Kloc of those are library bindings, on top of that it also includes a couple of C projects sources (expat, lu

Re: D1 to be discontinued on December 31, 2012

2011-12-14 Thread Jakob Bornecrantz
On Wednesday, 14 December 2011 at 18:55:23 UTC, Walter Bright wrote: On 12/14/2011 10:28 AM, Jakob Bornecrantz wrote: I don't know where the D1 community is, or even if it exists anymore. I'm here! Thanks for speaking up. np. Anyways couldn't you just do releases less oft

Re: D1 to be discontinued on December 31, 2012

2011-12-14 Thread Jakob Bornecrantz
On Wednesday, 14 December 2011 at 09:50:09 UTC, Walter Bright wrote: On 12/14/2011 12:30 AM, Don wrote: So, didn't sound then as though D1 was a big issue. Yet a month later you announce you've made a private decision about axing D1. Feels exactly like a military coup. Well, it wasn't one. Th