Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-10-31 Thread Moritz Maxeiner via Digitalmars-d-announce
On Tuesday, 31 October 2017 at 16:00:25 UTC, Bastiaan Veelo wrote: [...] Out of curiosity, what other plugins from [2] do you use in Sublime Text? How are they integrating with dub? If that question is open to the general public: None, I hacked my own [1] to suit my exact needs. [1]

Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-10-31 Thread Moritz Maxeiner via Digitalmars-d-announce
On Tuesday, 31 October 2017 at 13:32:34 UTC, SrMordred wrote: Thank you , works perfectly! One idea: Integrating with dub. So you don´t have to manually set lib dirs and flags since its all on 'dub.json' already. You can pretty much copy paste from sublide for this [1] (my own D plugin for

Re: LDC 1.4.0

2017-09-11 Thread Moritz Maxeiner via Digitalmars-d-announce
On Monday, 11 September 2017 at 23:32:55 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce LDC 1.4.0. The highlights of version 1.4 in a nutshell: * Based on D 2.074.1. [...] Fantastic news, thanks for your work!

Re: D on devdocs

2017-09-11 Thread Moritz Maxeiner via Digitalmars-d-announce
On Monday, 11 September 2017 at 03:23:47 UTC, ANtlord wrote: Hello. I'm not sure that you know, but documentation of D language has become to devdocs.io. It is web service provides offline documentation. We've got a useful tool for documentation viewing and reading. The next step is an

Re: D as a Better C

2017-08-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 17:43:27 UTC, Steven Schveighoffer wrote: On 8/23/17 11:59 AM, Walter Bright wrote: On 8/23/2017 7:37 AM, Steven Schveighoffer wrote: How do dynamic closures work without the GC? They don't allocate the closure on the GC heap. (Or do I have static/dynamic

Re: D as a Better C

2017-08-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 15:17:31 UTC, Moritz Maxeiner wrote: On Wednesday, 23 August 2017 at 14:37:19 UTC, Steven Schveighoffer wrote: On 8/23/17 9:12 AM, Mike Parker wrote: To coincide with the improvements to -betterC in the upcoming DMD 2.076, Walter has published a new article

Re: D as a Better C

2017-08-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 14:37:19 UTC, Steven Schveighoffer wrote: On 8/23/17 9:12 AM, Mike Parker wrote: To coincide with the improvements to -betterC in the upcoming DMD 2.076, Walter has published a new article on the D blog about what it is and why to use it. A fun read. And I'm

Re: D as a Better C

2017-08-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 14:00:34 UTC, Walter Bright wrote: On 8/23/2017 6:28 AM, Moritz Maxeiner wrote: I've been mixing C and full D for a while now (on Linux) by either having the main C program call rt_init/rt_term directly (if druntime is linked in when building a mixed C/D

Re: D as a Better C

2017-08-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 13:12:04 UTC, Mike Parker wrote: To coincide with the improvements to -betterC in the upcoming DMD 2.076, Walter has published a new article on the D blog about what it is and why to use it. A fun read. And I'm personally happy to see the love this feature is

Re: Release D 2.075.0

2017-08-08 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 19 July 2017 at 15:36:22 UTC, Martin Nowak wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Glad to announce D 2.075.0. This release comes with various phobos additions, a repackaged std.datetime, configurable Fiber stack guard pages (now also on Posix), and optional

Re: Release D 2.075.0

2017-07-24 Thread Moritz Maxeiner via Digitalmars-d-announce
On Monday, 24 July 2017 at 23:25:50 UTC, Martin Nowak wrote: On Monday, 24 July 2017 at 22:15:16 UTC, Moritz Maxeiner wrote: One thing to watch out for, though, is that if the D frontend starts using features introduced after its conversion to D, we are going to need to explicitly document

Re: Release D 2.075.0

2017-07-24 Thread Moritz Maxeiner via Digitalmars-d-announce
On Saturday, 22 July 2017 at 21:22:00 UTC, Walter Bright wrote: Putting the entire set in D (C compiler, C++ compiler, C preprocessor, htod converter, optimizer, code generator) makes the whole thing much more tractable, and who knows what we will be able to do with it! One thing to watch

Re: Boston D Meetup: Strawman Structs

2017-07-23 Thread Moritz Maxeiner via Digitalmars-d-announce
On Sunday, 23 July 2017 at 02:15:18 UTC, Steven Schveighoffer wrote: struct StrawmanRange(T) { ... void popFront() {} } How do you deal with ranges where `.popFront` returns the old front element (`.front` requires copying the front element if the caller wants to store it, `.popFront`

llvm-d 2.2 Dynamic loading (yet again)

2017-05-17 Thread Moritz Maxeiner via Digitalmars-d-announce
In response to a DConf 2017 request regarding this, llvm-d again supports dynamic loading. The API is essentially the same as is was for llvm 1.x, though you have to enable it with D versions. - Single shared library only (e.g. libLLVM-X.Y.Z.so) - Switch from (dynamic/static) linking to

llvm-d 2.1 - Support for LLVM 4.0.0

2017-04-28 Thread Moritz Maxeiner via Digitalmars-d-announce
Thanks to foerdi as of the new release 2.1.0, llvm-d supports LLVM 4.0.0.

Re: Beta 2.074.0-b1

2017-03-25 Thread Moritz Maxeiner via Digitalmars-d-announce
On Saturday, 25 March 2017 at 21:56:46 UTC, Jack Stouffer wrote: On Saturday, 25 March 2017 at 21:35:16 UTC, Moritz Maxeiner wrote: On Saturday, 25 March 2017 at 15:56:41 UTC, Jack Stouffer wrote: Yes, it's still not stable so it will be there for the foreseeable future. For example, just

Re: DConf 2017 Schedule

2017-03-14 Thread Moritz Maxeiner via Digitalmars-d-announce
On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote: Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is now available for your perusal. If you haven't registered yet, you have just over five weeks to get it done. The registration deadline has been set for April 23, so

Re: Typed D allocator based on jemalloc

2017-03-03 Thread Moritz Maxeiner via Digitalmars-d-announce
On Friday, 3 March 2017 at 12:00:05 UTC, Basile B. wrote: Nothing huge here. The package[0] provides the bindings, JEMallocator (like Mallocator) and JEAlignedAllocator (like AlignedAllocator). All of them use jeallocator[1], which is actually the default implementation of malloc in the

Re: Pegged v0.4: longest-match, left-recursion, and expandable parse trees

2017-03-03 Thread Moritz Maxeiner via Digitalmars-d-announce
On Thursday, 2 March 2017 at 20:42:56 UTC, Philippe Sigaud wrote: Hi, Pegged is a parser generator based on Parsing Expression Grammars (PEG) written in D, that aims to be both simple to use and work at compile-time. See: https://github.com/PhilippeSigaud/Pegged [...] Thank you very much

expat-d 0.1.0

2017-02-26 Thread Moritz Maxeiner via Digitalmars-d-announce
The package[1] is a binding to the Expat XML parser[2] with no high level wrappers, just plain C API. The initial release covers all of expat 2.2.0 and you need to link against the appropriate library yourself. The compile-time versions XML_UNICODE, XML_UNICODE_WCHAR_T, and XML_LARGE_SIZE

Re: DConf 2017 Early Bird Registration expires Monday!

2017-02-25 Thread Moritz Maxeiner via Digitalmars-d-announce
On Sunday, 26 February 2017 at 01:03:39 UTC, Walter Bright wrote: On 2/25/2017 5:25 AM, Moritz Maxeiner wrote: Just registered and was returned to http://dconf.org/2017/thankyou.html afterwards, which yields a 404 error. Not sure if I should laugh or cry. Your registration is confirmed. See

Re: DConf 2017 Early Bird Registration expires Monday!

2017-02-25 Thread Moritz Maxeiner via Digitalmars-d-announce
On Saturday, 25 February 2017 at 07:02:48 UTC, Walter Bright wrote: http://dconf.org/2017/registration.html Don't forget, it goes up to $400 after Monday. Just registered and was returned to http://dconf.org/2017/thankyou.html afterwards, which yields a 404 error. Not sure if I should laugh

Re: Questionnaire

2017-02-08 Thread Moritz Maxeiner via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: 1. Why your company uses D? a. D is the best b. We like D c. I like D and my company allowed me to use D d. My head like D e. Because marketing reasons f. Because my company can be more efficient with D for some

llvm-d 2.0

2017-01-28 Thread Moritz Maxeiner via Digitalmars-d-announce
New major release of `llvm-d` with some backwards-incompatible API changes, please read the release message for the details. Cliffnotes: - Just `import llvm` - Remove `LLVM.load`, (dynamically) link against the appropriate library/libraries - Set a D version `LLVM_Target_XyZ' for every LLVM

Re: DConf 2016 news: 20% sold out, book signing

2015-12-07 Thread Moritz Maxeiner via Digitalmars-d-announce
On Monday, 7 December 2015 at 17:39:14 UTC, Andrei Alexandrescu wrote: We're over 20% full and seats are going fast! We planned to send an announcement when we're 50% sold out. However, this time around registrations are coming quite a bit quicker than before so we thought we'd keep you

Re: LLVM 3.4 released

2014-01-09 Thread Moritz Maxeiner
On Monday, 6 January 2014 at 16:10:51 UTC, Kai Nacke wrote: Hi all! LLVM 3.4 is out! You can read the release notes http://llvm.org/releases/3.4/docs/ReleaseNotes.html or download it from http://llvm.org/releases/. As usual, LDC and dlang.org are mentioned in the release notes. I also take

Re: Arch Linux D news digest

2013-11-17 Thread Moritz Maxeiner
On Saturday, 16 November 2013 at 12:49:05 UTC, Atila Neves wrote: On Wednesday, 2 October 2013 at 15:14:08 UTC, Dicebot wrote: Small Archy update: 1) dub has been just adopted into [community] 2) all three compiler phobos versions now provide 'd-runtime` and `d-stdlib` meta-dependencies I

Re: I'm porting some go code to D

2013-08-24 Thread Moritz Maxeiner
On Friday, 23 August 2013 at 23:54:55 UTC, Rory McGuire wrote: So I'm porting so #golang code to #dlang and there is all these blasted go statements.So I thought I'd give implmenting it in D a shot. What do you guys think? Fire away :). /** * chan allows messaging between threads without

Re: stop to maitain rpm

2013-08-13 Thread Moritz Maxeiner
On Monday, 12 August 2013 at 13:46:52 UTC, David wrote: I don't know how it is for other distros, but the newest dmd and ldc version are available in the Archlinux's [community] repository while gdc and dub are available in the AUR, meaning you get a fully working D environment on Archlinux

Re: stop to maitain rpm

2013-08-12 Thread Moritz Maxeiner
On Sunday, 11 August 2013 at 17:15:52 UTC, David Nadlinger wrote: What would be nice, however, is to have these D-specific tools such as DVM, dub, … available in the distro repositories, preconfigured to fit the customs of the given system. This way, users could just do yum install dvm dub (or

Re: llvm-d

2013-04-04 Thread Moritz Maxeiner
On Thursday, 4 April 2013 at 18:31:59 UTC, deadalnix wrote: On Tuesday, 2 April 2013 at 15:30:53 UTC, Moritz Maxeiner wrote: I've not seen any mention about that under the Documentation category and I've only found posts about that after explicitly searching for that problem right now. I'm

Re: llvm-d

2013-04-02 Thread Moritz Maxeiner
On Tuesday, 2 April 2013 at 11:16:27 UTC, deadalnix wrote: On Friday, 29 March 2013 at 12:07:11 UTC, Moritz Maxeiner wrote: Now regarding the fact that you say that solution will have the negative side-effect of making compile time and resource explode: I have tested llvm-d on some of my old

Re: llvm-d

2013-03-29 Thread Moritz Maxeiner
On Friday, 29 March 2013 at 03:47:47 UTC, deadalnix wrote: On Thursday, 28 March 2013 at 19:09:47 UTC, Moritz Maxeiner wrote: Including all isn't a solution to that problem, as this kind of thing will make compile time and resource explode, especially since many things here are built out

Re: llvm-d

2013-03-28 Thread Moritz Maxeiner
On Thursday, 28 March 2013 at 05:04:42 UTC, deadalnix wrote: Ok, that sound reasonable. Second question, why do you do stuff like : enum Foo { FooA, FooB, FooC, } when you would do enum Foo { A, B, C, } ? I don't, I do: alias uint Foo; enum : Foo { FooA, FooB,

Re: llvm-d

2013-03-28 Thread Moritz Maxeiner
On Thursday, 28 March 2013 at 17:30:24 UTC, deadalnix wrote: On Thursday, 28 March 2013 at 09:23:27 UTC, Moritz Maxeiner wrote: I don't, I do: alias uint Foo; enum : Foo { FooA, FooB, FooC } which is a direct translation of the C enums. It gives the enum items no named scope, only creates

Re: llvm-d

2013-03-27 Thread Moritz Maxeiner
On Wednesday, 27 March 2013 at 15:29:19 UTC, deadalnix wrote: On Sunday, 24 March 2013 at 02:37:52 UTC, Moritz Maxeiner wrote: On Sunday, 24 March 2013 at 01:35:28 UTC, Chris Cain wrote: On Saturday, 23 March 2013 at 21:19:14 UTC, Moritz Maxeiner wrote: TLDR: Your example should now work

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 04:34:53 UTC, Chris Cain wrote: On Friday, 15 March 2013 at 17:40:36 UTC, Moritz Maxeiner wrote: Hi, I would like to announce llvm-d, which provides LLVM bindings for D. Greetings, I hope you don't mind a bit of a support request, but I'm having difficulties

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 09:30:07 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: A couple of more things I forgot to mention: - You will need to additionally add bindings for all the LLVMInitializeTARGET_NAME{TargetInfo,Target,TargetMC,AsmParser,AsmPrinter,Disassembler} functions

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 10:31:30 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Saturday, 23 March 2013 at 09:30:07 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: A couple of more things I forgot to mention: - You will need to additionally add bindings for all

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 08:53:47 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: I could add support for it via a version flag. E.g. set -version=DEIMOS_LLVM or something similar. That way someone using llvm-d can choose to either use the included C bindings or use your deimos

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
Also, you named the enums, meaing LLVMCCallConv, like in C, doesn't work and one has to use LLVMCallConv.LLVMCCallConv. Same for the other enums.

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 14:42:06 UTC, 1100110 wrote: On 03/23/2013 05:01 AM, Moritz Maxeiner wrote: [snip] No problem at all. There is an example quoted in the README and how to compile it, so without further information form your side I don't know what the problem is. To get

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 16:37:35 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Saturday, 23 March 2013 at 10:31:30 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Saturday, 23 March 2013 at 09:30:07 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: A couple of more things I forgot

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 19:57:52 UTC, Chris Cain wrote: On Saturday, 23 March 2013 at 10:01:19 UTC, Moritz Maxeiner wrote: No problem at all. There is an example quoted in the README and how to compile it, so without further information form your side I don't know what the problem

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
The second warning has been dealt with now, as well (even though the program semantic has not changed at all, somethings wrong with the unreachable statement detenction .). Also, readded the -ldl flag to lflags-posix in the package.json which solves the problem with the dl library not being

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Saturday, 23 March 2013 at 21:24:50 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Saturday, 23 March 2013 at 16:37:35 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Saturday, 23 March 2013 at 10:31:30 UTC, Jens Mueller wrote: It looks mostly okay to me with one problem: Afaict

Re: llvm-d

2013-03-23 Thread Moritz Maxeiner
On Sunday, 24 March 2013 at 01:35:28 UTC, Chris Cain wrote: On Saturday, 23 March 2013 at 21:19:14 UTC, Moritz Maxeiner wrote: TLDR: Your example should now work, provided you fix what I previously mentioned. You can also look at sample/fibonacci.d which I used instead of your fac to confirm

Re: llvm-d

2013-03-22 Thread Moritz Maxeiner
On Friday, 22 March 2013 at 08:34:11 UTC, Jens Mueller wrote: Updated documentation http://jkm.github.com/d-programming-language.org/deimos.html NIice, but conforming to the following would create too much work for me: For each file a proper module declaration has to be provided Since

Re: llvm-d

2013-03-22 Thread Moritz Maxeiner
On Friday, 22 March 2013 at 17:16:26 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Friday, 22 March 2013 at 08:34:11 UTC, Jens Mueller wrote: Updated documentation http://jkm.github.com/d-programming-language.org/deimos.html NIice, but conforming to the following would create too much

Re: llvm-d

2013-03-22 Thread Moritz Maxeiner
A couple of more things I forgot to mention: - You will need to additionally add bindings for all the LLVMInitializeTARGET_NAME{TargetInfo,Target,TargetMC,AsmParser,AsmPrinter,Disassembler} functions. They reside inside the target libraries and not inside llvm-c, which is why only translating

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Sunday, 17 March 2013 at 20:05:09 UTC, Jens Mueller wrote: Deimos just provides a plain D interface for C libraries. What do you mean? You can do static or dynamic linking. With dynamic linking it will be loaded at startup time by the loader. But you can also load it at runtime using some

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: I assumed OS X is Posix compliant. I never checked that though. Thanks for the pointer. No problem, OSX seems mostly Posix compliant. The shared libraries are suffixed with .dylib, though, instead of .so. There may be other

Re: llvm-d

2013-03-18 Thread Moritz Maxeiner
On Monday, 18 March 2013 at 14:51:00 UTC, Jens Mueller wrote: Moritz Maxeiner wrote: On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: I don't know how this is done on Windows. On Linux you just set the LD_LIBRARY_PATH. My problem with that is that it's a) not encapsulated inside

llvm-d

2013-03-15 Thread Moritz Maxeiner
Hi, I would like to announce llvm-d, which provides LLVM bindings for D. It loads LLVM from a dynamic library (so/dylib/dll) and has support for LLVM versions 3.1, 3.2 and 3.3 (current svn trunk). It has as of now been tested on 64bit versions of Archlinux, OS X Mountain Lion and Windows 7.

Re: llvm-d

2013-03-15 Thread Moritz Maxeiner
On Friday, 15 March 2013 at 21:18:09 UTC, Jens Mueller wrote: Nice. Can you make it compatible with Deimos https://github.com/D-Programming-Deimos/? Jens If by compatible you mean can be used with: I don't see anything that would prevent you from using llvm-d together with deimos bindings

Re: DUB 0.9.11 released

2013-03-10 Thread Moritz Maxeiner
On Sunday, 10 March 2013 at 08:41:40 UTC, Jonathan M Davis wrote: Has anyone else tried to build the new release on Arch Linux? I tested both dub and dub-git before updating them yesterday in the AUR, so yes. Currently for some reason github is unbearable slow for me, so I can't test it

Re: DUB 0.9.11 released

2013-03-10 Thread Moritz Maxeiner
On Sunday, 10 March 2013 at 11:04:36 UTC, Jonathan M Davis wrote: The latest from github. I did try using rdmd from 2.062 just in case it was an issue with rdmd, but that had no effect. I haven't yet tried installing the 2.062 version of dmd though. Probably a stupid question, but is you

Re: DUB 0.9.11 released

2013-03-10 Thread Moritz Maxeiner
On Saturday, 9 March 2013 at 13:48:53 UTC, Sönke Ludwig wrote: For anybody who didn't read the thread [1] in the D newsgroup, DUB is a build and package manager for D projects with an emphasis on simplifying the build process and generally staying out of the way during software development.

Re: DUB 0.9.11 released

2013-03-10 Thread Moritz Maxeiner
On Sunday, 10 March 2013 at 13:23:54 UTC, Nick Sabalausky wrote: rant One of the top things that made the internet the great thing it is, heck one of the main *reasons* for the internet's precursor in the first place, was decentralization. ... /rant True, but given the choice between security

Re: DUB 0.9.11 released

2013-03-10 Thread Moritz Maxeiner
On Sunday, 10 March 2013 at 19:00:55 UTC, Sönke Ludwig wrote: I've added source download links that point directly to GitHub. I'm not sure, but I think GitHub doesn't supply checksums, so that would have to wait a bit until I have fully automated the release process. Thanks, I only needed