Re: DIP 1015--Deprecation of Implicit Conversion of Int. & Char. Literals to bool--Formal Assement

2018-11-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-14 03:45, Walter Bright wrote: On 11/13/2018 3:29 PM, Rubn wrote: enum : int { a = 127 } To reiterate, this does not create an anonymous enum type. 'a' is typed as 'int'. Technically, `a` is a manifest constant of type `int` with a value of `127`. > enum A : int { a = 127 } `a`

Re: DMD backend now in D

2018-11-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-12 00:40, Walter Bright wrote: As: https://github.com/dlang/dmd/pull/8946 removes the header files for the old C++ code! BTW, this is great news :) -- /Jacob Carlborg

Re: DMD backend now in D

2018-11-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-12 03:37, Walter Bright wrote: On 11/11/2018 3:58 PM, Mike Franklin wrote: This is a significant milestone. Congratulations, Walter! Many people helped out with this, too. There are still a few .c files in https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's the

Re: DIP 1015--Deprecation of Implicit Conversion of Int. & Char. Literals to bool--Formal Assement

2018-11-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-12 10:45, Mike Parker wrote: DIP 1015, "Deprecation and removal of implicit conversion from integer and character literals to bool, has been rejected, primarily on the grounds that it is factually incorrect in treating bool as a type distinct from other integral types. The TL;DR is

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-08 18:25, Jacob Carlborg wrote: This is my result on macOS: $ $ make -f posix.mak clean $ time make -f posix.mak -j 16 real    0m3.127s user    0m5.478s sys    0m1.686s 21 seconds on a Windows 10 virtual machine compiling using the win32.mak file. -- /Jacob Carlborg

Re: Profiling DMD's Compilation Time with dmdprof

2018-11-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-08 05:16, Manu wrote: 4 seconds? That's just untrue. D is actually kinda slow these days... In my experience it's slower than modern C++ compilers by quite a lot. This is my result on macOS: $ $ make -f posix.mak clean $ time make -f posix.mak -j 16 real0m3.127s user

Re: Backend nearly entirely converted to D

2018-11-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-08 18:23, welkam wrote: but you are not against changing for loops to foreach that add almost nothing to code readability and only look better. Changing to a foreach loop definitely adds to readability and to be able to better understand the code. If you read the "foreach"

Re: Backend nearly entirely converted to D

2018-11-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-07 23:58, Walter Bright wrote: Slides and video link:  http://nwcpp.org/october-2018.html On 11/7/2018 2:08 PM, H. S. Teoh wrote: I don't speak for the compiler devs, but IMO, one-letter variables are OK if they are local, and cover a relatively small scope.  Java-style verbosity

Re: LDC 1.13.0-beta1

2018-11-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-07 16:45, kinke wrote: I upgraded it one day after releasing beta1, as I sadly forgot to check for a newer dub version before publishing. I.e., the CI builds already feature dub v1.12. Cool, thanks. -- /Jacob Carlborg

Re: Backend nearly entirely converted to D

2018-11-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-06 23:12, Walter Bright wrote: The more immediate benefit is to get rid of all the parallel .h files, which were a constant source of bugs when they didn't match the .d versions. Still need some of those for GDC and LDC. Until we have a tool that can automatically generate them.

Re: LDC 1.13.0-beta1

2018-11-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-11-02 22:04, kinke wrote: Glad to announce the first beta for LDC 1.13: * Based on D 2.083.0. * The Windows packages are now fully self-sufficient, i.e., a Visual Studio/C++ Build Tools installation isn't required anymore. * Substantial debug info improvements for GDB. Full release

Re: Wed Oct 7 - Avoiding Code Smells by Walter Bright

2018-10-16 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-10-15 23:23, Walter Bright wrote: I'm giving a presentation at: http://nwcpp.org/ See you there! Hmm, it doesn't mention your name until the speaker bio. -- /Jacob Carlborg

Re: RFC: initial release of dtoh

2018-08-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-08-24 12:09, Uknown wrote: This is all very nice. I agree that this kind of thing should be a part of the compiler, but I think it should be a compiler plugin. If dmd had compiler plugins, I think stuff like this and `dpp` would be much nicer to use. We have the front end available

Re: RFC: initial release of dtoh

2018-08-22 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-08-22 13:01, Mihails wrote: https://gitlab.com/mihails.strasuns/dtoh Tool to grab all `extern(C)` declarations in a D module and generate C header file based on it. Partially addresses https://issues.dlang.org/show_bug.cgi?id=9285 but is intended to be much more simple (no C++, no

Re: DVM - D Version Manager 0.4.4

2018-07-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-07-03 03:34, Tony wrote: Thanks, that worked! It doesn't announce where it put the compiler, which turns out to be: C:\Users\\AppData\Roaming\dvm\ You're not supposed to know where it puts the compiler. You're activating it with "dvm use " where "" is the version you want to

Re: iopipe v0.1.0 - now with Windows support!

2018-06-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-06-19 15:04, Steven Schveighoffer wrote: I just set up travis to do the Linux/mac testing. I need to add appveyor as well, but haven't gotten to it. I'm a complete CI noob, so I'm learning slowly :) To save you some trouble, AppVeyor supports both a YAML, like Travis, and a web UI to

Re: iopipe v0.1.0 - now with Windows support!

2018-06-19 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-06-11 16:45, Steven Schveighoffer wrote: I just pushed v0.1.1 -- I realized that I never *actually* compiled on windows, and there were a couple things that didn't work. Note: the examples still don't work as they rely on openDev, which is only available on Posix systems now. I need

Re: Looks like Digital Mars C++ is on the front page of HN at the moment!

2018-05-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-05-24 22:06, Basile B. wrote: Ahhh i was forgetting, the linker... The LLVM linker, LLD, works pretty well on Windows. -- /Jacob Carlborg

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-05-08 09:07, Nick Sabalausky (Abscissa) wrote: The question is: Why "should.equal" instead of "shouldEqual"? The dot only seems there to be cute. It scales better. This way only one "should" function is needed and one "not" function. Otherwise there would be a lot of duplication,

Re: The dlang-community releases DCD 0.9.3 and D-Scanner 0.5.2

2018-04-27 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-27 09:43, baz@dlang-community wrote: DCD 0.9.4 is available now. Same link. How come there are no binaries for macOS? Seems to be a release script and Travis CI configuration for macOS. -- /Jacob Carlborg

Re: Pre-DConf Meetup on May 1

2018-04-27 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-25 16:13, Seb wrote: Hi all, I hope you are all looking forward to DConf. We (Stefan, Dragos and I) have very good news for you. Our next D Munich Meetup will coincide with DConf to give our local community who can't join DConf an opportunity to meetup all the rockstars from the D

Re: LDC 1.9.0 beta

2018-04-26 Thread Jacob Carlborg via Digitalmars-d-announce
On Wednesday, 25 April 2018 at 13:36:50 UTC, Rel wrote: This is nice to hear, but just to make it clear, what steps do I need to take to for example build a Mac OSX binary on Windows or Linux? Can I just download libs from prebuilt LDC for Mac OSX, put them somewhere in my current LDC

Re: #include C headers in D code

2018-04-16 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 16 April 2018 at 11:20:51 UTC, Atila Neves wrote: You can use the C macros in the headers that you #include in your dpp file. dstep has a lot of code for translating macros. I don't want to translate macros at all, but it's deeply intertwined with translating everything else.

Re: #include C headers in D code

2018-04-13 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-13 12:33, Atila Neves wrote: I'll have to take a look at Jacob's configure.d to find out where libclang is installed on Windows. Unfortunately the configuration script is only for Posix. -- /Jacob Carlborg

Re: #include C headers in D code

2018-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* I don't know the exact details of your project but can't you just: 1. Copy the includes 2. Paste them into a C file 3. Run DStep on the C file 4.

Re: #include C headers in D code

2018-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* BTW, you can steal the config script [1] from DStep to help detect locations of LLVM/libclang. It also supports static linking. Supports manually

Re: #include C headers in D code

2018-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ How do you deal with macros containing invalid D code, i.e.

Re: #include C headers in D code

2018-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On Tuesday, 10 April 2018 at 23:44:46 UTC, Atila Neves wrote: The beauty of using libclang is that name mangling issues don't exist. :) How is that not going to be an issue? Are you adding `pragma(mangle)` everywhere? -- /Jacob Carlborg

Re: DIP 1009 (Add Expression-Based Contract Syntax) Accepted

2018-04-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-06 14:26, Mike Parker wrote: Congratulations to Zach Tollen and everyone who worked on DIP 1009. It took a painful amount of time to get it through the process, but it had finally come out of the other side with an approval. The proposal itself was approved early on, but it needed

Re: Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-04-05 17:22, Joakim wrote: Nice, rather than downloading the pre-built ldc for Windows and extracting its runtime, you may be interested in cross-compiling the stdlib yourself.  The only obstacle may be that the build requires a C cross-compiler for one or two C files, but clang may

Dockerfile with cross-compiler targeting Windows x64

2018-04-05 Thread Jacob Carlborg via Digitalmars-d-announce
I've created a Dockerfile [1] containing LDC, configured for cross-compiling targeting Windows x64. It's based on the instructions provided by kinke here [2]. Note, it downloads the MSVC libs from Dropbox. [1] https://github.com/jacob-carlborg/docker-ldc-windows/blob/master/Dockerfile [2]

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-04-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-30 08:53, Dmitry Olshansky wrote: With the frame of mind prevalent in our Industry I really want to have compiler includibg codegen as a bunch of library components. Then there is no problem innovating while people argue over things “allowed” for a compiler, or a linker, or a

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-29 Thread Jacob Carlborg via Digitalmars-d-announce
On Wednesday, 28 March 2018 at 23:25:09 UTC, Walter Bright wrote: It's expected with a build tool. Not a compiler. It depends. The compilers are doing more and more work these days. Initially, DMD could not build libraries, now it can. DMD does not output assembly files and runs an

Re: D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

2018-03-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-27 23:49, Walter Bright wrote: The act of compiling a buggy program not influence the global state of the computer. It should not be necessary to vet code downloaded from the internet before even compiling it to ensure it doesn't mess up the system. There's usually nothing that

Re: Why think unit tests should be in their own source code hierarchy instead of side-by-side

2018-03-24 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-23 21:43, H. S. Teoh wrote: Yep. As I mentioned elsewhere, recently I've had to resort to external testing for one of my projects, and I'm still working on that right now. And already, I'm seeing a liability: rather than quickly locating a unittest immediately following a particular

Re: Why think unit tests should be in their own source code hierarchy instead of side-by-side

2018-03-22 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 22 March 2018 at 11:00:31 UTC, Atila Neves wrote: Direct link: https://atilanevesoncode.wordpress.com/2018/03/22/keep-d-unittests-separated-from-production-code/ I completely agree. Although my reason is mostly because there will be too much code in a single file if the regular

Re: Release D 2.079.0

2018-03-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-08 19:21, Martin Nowak wrote: Also this offer still stands https://forum.dlang.org/post/drcekmxvfszpwifbu...@forum.dlang.org Who will decide if semver can/will be used? -- /Jacob Carlborg

Re: DWT API Documentation now on dpldocs.info

2018-03-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-03-08 14:51, Adam D. Ruppe wrote: You need to go all to the way to the top level by clicking the topmost link on the left nav: http://dwt.dpldocs.info/org.html http://dwt.dpldocs.info/java.html Aha, I see. * No inheritance chain * No implemented interfaces They are in the

Re: Official Dub package for DWT

2018-03-08 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 8 March 2018 at 09:17:53 UTC, IM wrote: This is great, thanks! Any plans to make it link with gtk3 instead of 2? I remember gtk2 had issues with HiDPI support. DWT is a port of the Java library SWT. This particular version, 3.4, of SWT only supports GTK2. Later versions of SWT

Re: DWT API Documentation now on dpldocs.info

2018-03-08 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 8 March 2018 at 01:21:44 UTC, Adam D. Ruppe wrote: As some of you might know, DWT is a D port of Java's SWT. It is as thus nearly identical and you can use Java's documentation with very little effort - copy/paste of Java examples almost just work as D too. But, the eclipse docs

Re: DWT API Documentation now on dpldocs.info

2018-03-08 Thread Jacob Carlborg via Digitalmars-d-announce
On Thursday, 8 March 2018 at 01:21:44 UTC, Adam D. Ruppe wrote: I don't have a great entry point to the docs, so it will just go to the Display class... but take a look: I would recommend the "swt" package [1] as an entry point. Or we could add some documentation to the "all" or "std"

Re: Beta 2.079.0

2018-02-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-19 11:49, Martin Nowak wrote: Glad to announce the first beta for the 2.079.0 release, ♥ to the 77 contributors for this release. The following is a regression that breaks DWT: extern (C) void foo(int) { } extern (C) void foo(double) { } The above used to compile but now results

Re: Official Dub package for DWT

2018-02-22 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-22 20:26, Jesse Phillips wrote: This is awesome. I don't use GUI too much with my D programs, but I've had one lingering with DFL for a while now. It took a little bit to get familiar with this framework again, but I think the conversion has been totally worth it (even seems to

Re: The Expressive C++17 Coding Challenge in D

2018-02-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-14 19:00, Ola Fosheim Grøstad wrote: For instance, Swift drags in all of Os-X on the default platform, so writing an audio/video loader would be relatively short in comparison to other languages. Would that be fair or instructive? Of course not. The Os-X libraries are quite

Re: dxml 0.2.0 released

2018-02-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-12 21:19, Chris wrote: A few lines of code that could be replaced easily once something better is available? Fairly easy because it's so small. I'm actually using the SAX interface from std.xml and it quite nicely fits my needs. -- /Jacob Carlborg

Re: dxml 0.2.0 released

2018-02-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-12 17:49, Chris wrote: How could it possibly make the situation any worse than it is now? Atm, nobody will ever use std.xml, because it is sub-standard and has no future. I'm using std.xml in a new project right now. It's a really small private project that just need to extracts

Re: dxml 0.1.0 released

2018-02-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-10 19:57, Jonathan M Davis wrote: Kind of. I did some benchmarking to see if some code changes would improve performance, but I haven't tried benchmarking it against any other XML libraries. Ok, I see. That would take a fair bit of time and effort, and IMHO, that would be better

Re: dxml 0.1.0 released

2018-02-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-09 22:15, Jonathan M Davis wrote: Currently, dxml contains only a range-based StAX / pull parser and related helper functions, but the plan is to add a DOM parser as well as two writers - one which is the writer equivalent of a StaX parser, and one which is DOM-based. However, in

Re: Official Dub package for DWT

2018-02-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-09 04:48, Brian wrote: Thanks! But, How to use x64? On Linux it should just work if you have a 64bit system. On Windows I guess you would run Dub with "dub --arch=x86_64", if it doesn't already default to 64bit. -- /Jacob Carlborg

Re: Official Dub package for DWT

2018-02-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-08 00:22, lobo wrote: Thanks for this effort. I looked at DWT a while back but settled on GtkD because it was easier to build. Either way, I will have to revisit this library and give it another go in my new project. Looking at the examples I imagine it wouldn't be too difficult

Official Dub package for DWT

2018-02-07 Thread Jacob Carlborg via Digitalmars-d-announce
This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library [1]. For a usage example, please see the GitHub page [2]. For those not familiar with DWT, it's a library for creating cross-platform GUI applications. It's uses the

Re: [howto] Serve ddox documentation on github.io deployed by Travis CI

2018-01-13 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-01-13 05:59, Martin Nowak wrote: On Wednesday, 10 January 2018 at 08:50:37 UTC, Bastiaan Veelo wrote: Maybe worthwile to add this scaffolding to dub or some other tool? Anyone volunteering? This could be a good idea. Probably even better is to let code.dlang.org take care of it,

Re: Blog post: using dynamic libraries in dub

2017-12-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-23 21:59, Walter Bright wrote: It'd be nice to collect information on what needs to be done and file a bugzilla issue on it. Otherwise it's just generic "doesn't work on macOS" which contains no useful information. If I knew exactly what would need to be done I would most likely

Re: Blog post: using dynamic libraries in dub

2017-12-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-23 00:18, Walter Bright wrote: Is there a bugzilla issue with just what is wrong with the TLS code generation on macOS? There's nothing wrong with TLS on macOS. It's just that there are additional work that needs to be done. Just the same as TLS worked before dynamic libraries

Re: Blog post: using dynamic libraries in dub

2017-12-22 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-21 14:30, David Nadlinger wrote: Just to clarify, that's true for for DMD only – TLS should work just fine on macOS with LDC. Right. -- /Jacob Carlborg

Re: Blog post: using dynamic libraries in dub

2017-12-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-20 11:31, Benjamin Thaut wrote: Would this work in all cases? Do tls variables work across Linux shared libraries? As far as I know it works on Linux and FreeBSD, but it doesn't work on macOS. I don't know about windows. Do we expect all dub libraries to have correct export

Re: mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc Improvements

2017-12-16 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-16 06:37, Nick Sabalausky (Abscissa) wrote: Oh, I'd thought it was the middle one for that. Right-most for non-breaking changes, Middle for all breaking changes, and Left-most for major changes. Guess I remembered it wrong :/ My mistake, the left most for breaking changes,

Re: mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc Improvements

2017-12-15 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote: - The deperecated symbols have been removed (ie, the the outdated pre-v1.0.0 interfaces). If you have removed symbols that's a breaking API changes which should bump the right most digit in the version according to Semantic Versioning

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-13 02:14, Seb wrote: Also the storage on the machine is limited and we can't drop an unlimited amount of Docker images there. There could be a job that cleans up the local Docker images. If a Docker image is needed it will be pulled down again automatically. Of course there can

Re: LDC 1.7.0-beta1

2017-12-13 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-13 09:42, Suliman wrote: Could you explain hot to do it? Install LLVM? And than how I could specify what linker should be used? with the "-linker=" flag. -- /Jacob Carlborg

Re: LDC 1.6.0-beta1

2017-12-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-03 12:52, kinke wrote: Working on that. It's not that simple though; we use a custom LLVM, which Travis doesn't manage to build alone in a dedicated job (only ~66% before timing out). Hmm, I would need to do that as well for DStep :(. That's disappointing. Would caching help [1]?

Re: LDC 1.6.0-beta1

2017-12-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-03 00:08, David Nadlinger wrote: That would be a good idea. Also, I uploaded the OS X package just now. (Didn't realise it wasn't built yet…). —David Here's the Travis CI script for one of my projects [1] that uploads to a GitHub release, both for Linux and macOS. [1]

Re: LDC 1.6.0-beta1

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-02 13:41, kinke wrote: Nope, unfortunately still waiting for one of my compadres to create and upload the OSX package. Have you thought of automatically build and upload packages using Travis CI? -- /Jacob Carlborg

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-02 10:30, WebFreak001 wrote: On Saturday, 2 December 2017 at 09:16:55 UTC, Jacob Carlborg wrote: On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also open for changing some

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also open for changing some

Re: Reorganization and list of D libraries (300+)

2017-11-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-11-04 01:12, Fra Mecca wrote: Hi all. Lurking in this forum I had the feeling that lots of D developers tend to rewrite lots of code that could be found in libraries. This is not bad per se but I thought that one of the reason could have been the current process of library discovery.

Re: Unit Testing in Action

2017-10-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-10-25 04:15, Walter Bright wrote: The problem is how to display it in a text file with the original source code. An option to output the result in XML or JSON would allow an editor or IDE more options to display the result, for example, hover on different expressions to show the

Re: DMD, Windows and C

2017-10-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-10-25 21:15, MrSmith wrote: I wish we had zero-dependence distributions of all compilers for Windows. I want to redist compiler with my application for easy modding. And requiring VisualStudio / BuildToos is too much garbage for a small task. (Ideally it should be 20-30 MB at max).

Re: iopipe alpha 0.0.1 version

2017-10-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-10-12 06:22, Steven Schveighoffer wrote: I also want to add generated documentation. Does anyone know of a good way to generate the ddoc (or ddox or whatever) and put it directly into the repository for github to serve? Would be an awesome tip for people making projects for

Re: Release D 2.076.0

2017-09-05 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-09-04 16:34, Mario Kröplin wrote: What's the problem with `TypeInfo_Typedef`? https://github.com/dlang/undeaD shows "build:failing". https://travis-ci.org/dlang/undeaD/jobs/270947584 shows: src/undead/doformat.d(934,23): Error: undefined identifier TypeInfo_Typedef typedef has been

Re: dpeq - native PSQL extended query protocol client

2017-09-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-09-04 10:12, Boris-Barboris wrote: On Monday, 4 September 2017 at 06:40:09 UTC, Jacob Carlborg wrote: If would be great if you want to upstream your improvements. I think it's a bit unfortunate that everyone is rolling their own implementations in this community instead of working

Re: dpeq - native PSQL extended query protocol client

2017-09-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-09-04 00:57, Boris-Barboris wrote: I tried all existing libraries, and noted pretty mature dpq2 and ddb (and it's hb-ddb fork) libs. I didn't like the first one, because I didn't want to leave vibe-d eventloop, and the second one was native (big plus for me), supported vibe-d sockets.

Re: D as a Better C

2017-08-24 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-08-24 02:55, H. S. Teoh via Digitalmars-d-announce wrote: One thing that would help is if things like TypeInfo, ModuleInfo, etc., are only emitted on-demand I think that would be quite difficult if we want to keep all the existing features. Combining separate compilation, runtime

Re: Trial v0.3.1 is out

2017-08-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-08-20 22:56, Szabo Bogdan wrote: Hi, I added some new improvements to `trial` http://trial.szabobogdan.com/ which is a hackable test runner for D. This release contains: - Spec test discovery Ah, I like it. Might give this a try. -- /Jacob Carlborg

Re: I'm the new package maintainer for D on ArchLinux

2017-08-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-08-09 22:42, Wild wrote: Hi everyone, The D packages for ArchLinux has been orphaned since Dicebot stepped down as the maintainer and no one else stepped up. So I decided to step up and apply to become a Trusted User, and I got accepted yesterday[1]. That's great. Do you want to

Re: d_to_html.d

2017-08-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-08-05 21:07, WebFreak001 wrote: Hi, I made a D to HTML generator which is basically diet, but fully using the D compiler as generator and not some complicated parser, etc. Here an example what you pass in: string page = html( head( title("wtf is this"), style(

Re: DMD library available as DUB package

2017-07-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-07-18 14:35, Suliman wrote: Could you explain where it can be helpful? As Dukc said, for tools that need to analyze D source code. -- /Jacob Carlborg

DMD library available as DUB package

2017-07-18 Thread Jacob Carlborg via Digitalmars-d-announce
During the dconf hackathon I set out to create a DUB package for DMD to be used as a library. This has finally been merged [1] and is available here [2]. It contains the lexer and the parser. A minimal example: #!/usr/bin/env dub /++ dub.sdl: name "dmd_lexer_example" dependency "dmd"

Re: DIP 1010--Static foreach--Accepted

2017-07-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-07-17 14:39, Steven Schveighoffer wrote: Awesome! Super glad and looking forward to this in 2.076? ;) It's already merged [1] so..., why not :) [1] http://forum.dlang.org/post/okiuqb$1eti$1...@digitalmars.com -- /Jacob Carlborg

Re: static foreach is now in github master

2017-07-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-07-17 20:14, Andrei Alexandrescu wrote: For those who want to play with our new static foreach feature and are willing to take the steps to building their own dmd, the feature is now merged in master: https://github.com/dlang/dmd/pull/6760 Happy hacking! That was quick, and awesome

Re: JavacTo - translate java source to D

2017-07-12 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-07-11 21:52, Phillip wrote: Jacob - as with Patrick's posting - this looks useful for anyone working with legacy java code that needs/ or wants to migrate to D. Though less familiar with Scala, will certainly take a look as i get time to test further. Thanks much for posting. My

Re: JavacTo - translate java source to D

2017-07-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-07-10 03:52, Patrick wrote: Hello, I'm pleased to announce a new java prototype application that is designed to translate java source into D source. Or any other language that support package, class, interface, and enum constructs and provides a built in memory garbage collection.

Re: Updated Derelict Documentation

2017-06-24 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-24 12:53, Mike Parker wrote: [1] http://derelictorg.github.io/ I noticed you mentioned dylib files on macOS. Might be worth mentioning frameworks as well. -- /Jacob Carlborg

Re: Release D 2.074.1

2017-06-06 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-05 23:38, Joseph Rushton Wakeling wrote: Yup, my instinct is that if a VERSION file needs to exist at all it should be created during the build process out of `git describe` output. It's used by DMD to build the version, that is, the output of "dmd --version". The content of the

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-04 20:19, Jakub Szewczyk wrote: The problem is, it emits completely wrong code whereever a function is necessary, like in function pointers. I can try to isolate the change to global-level function declarations only, to make it generate correct code that doesn't require running two

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-04 10:18, Jakub Szewczyk wrote: Btw, I've manually ported the basic and configuration headers, so that no mistakes are made, and then used DStep and a modified DStep to generate the rest of the headers - my modification was only to change the way function declarations are generated,

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-03 23:44, extrawurst wrote: On Saturday, 3 June 2017 at 17:30:05 UTC, Jakub Szewczyk wrote: Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced

Re: DIP 1003 (Remove body as a Keyword) Accepted!

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-04 01:10, Jonathan M Davis via Digitalmars-d-announce wrote: Only new Phobos modules. DIPs have been discussed quite a bit in the newsgroup, but their decision process has never been democratic. It's always been a matter of talking Walter into it, which has usually led to stuff never

Re: DIP 1003 (Remove body as a Keyword) Accepted!

2017-06-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-02 16:17, Mike Parker wrote: Congratulations are in order for Jared Hanson. Walter and Andrei have approved his proposal to remove body as a keyword. I've added a summary of their decision to the end of the DIP for anyone who cares to read it. In short: * body temporarily becomes a

Re: Release D 2.074.1

2017-06-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-01 23:04, Martin Nowak wrote: Glad to announce D 2.074.1. http://dlang.org/download.html This point release fixes a few issues over 2.074.0, see the changelog for more details. http://dlang.org/changelog/2.074.1.html Any progress on the remaining regressions [1]? [1]

Re: Trip notes from Israel

2017-05-24 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-05-22 17:05, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei About the custom attributes that are mentioned, like "has acquired a lock" attribute. This would be a perfect candidate for a UDA and using the compiler as a

Re: DMD now has colorized syntax highlighting in error messages

2017-05-16 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-05-15 23:33, Adam D. Ruppe wrote: On Monday, 15 May 2017 at 15:40:58 UTC, Walter Bright wrote: That's why such needs to be turned into a generic module, instead of constantly being reinvented. What I'm saying is that it IS a generic module... in fact, there's several of them:

Re: DMD now has colorized syntax highlighting in error messages

2017-05-15 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-05-15 01:17, Vladimir Panteleev wrote: No problem, it could only print out the line if the output is a terminal, same as for how it decides whether to output colors by default. Ah, that would be fine. -- /Jacob Carlborg

Re: DMD now has colorized syntax highlighting in error messages

2017-05-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-05-14 18:25, Walter Bright wrote: 1. print out the offending line I hope this one will be optional/configurable. I don't think it necessary to print the offending line within an editor/IDE. They usually can already map the error to the offending line. -- /Jacob Carlborg

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-22 13:35, David Nadlinger wrote: LDC officially supports shared libraries on macOS. -David That's great. -- /Jacob Carlborg

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-18 23:08, Dmitry Olshansky wrote: Risking a flamewar but what's wrong with Java? I don't like any language that force me to write in a particular style or paradigm. Because all problems cannot be solved (or not in a good way) in the same way. That said, my D code is quite heavily

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-11 08:50, FreeSlave wrote: D can't compete with C++ until it gets proper dynamic library support on all platforms. As far as I understand there're still problems on Windows. And no official support on macOS. -- /Jacob Carlborg

Re: fluent-asserts released

2017-04-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-10 22:41, Atila Neves wrote: It'll work, but it won't end up reporting it the same way. If you'd like that to work seamlessly it's a question of having `version(Have_unit_threaded)` (or however it is it's spelled) that imports and throws `unit_threaded.should.UnitTestException`. Then

Re: fluent-asserts released

2017-04-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-09 15:30, Szabo Bogdan wrote: Hi! I just made an update to my fluent assert library. This is a library that allows you to write asserts in a BDD style. Right now, it contains only asserts that I needed in my projects and I promise that I will add more in the future. I would really

  1   2   3   4   5   6   >