Re: Battle-plan for CTFE

2016-08-09 Thread Kagamin via Digitalmars-d-announce
1. You said CTFE engine can be ctfeable itself? But it uses unions in BCValue - it's not going to work in CTFE, is it? Just wondering myself what's the way to have polymorphism at compile time. 2. The byte code generator interface has no mean to declare functions? In case of LLVM jit one would

Re: LDC 1.1.0-beta2 has been released!

2016-08-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 August 2016 at 01:28:39 UTC, Emre Temelkuran wrote: It should definitely be the reference compiler. Why they're wasting power with parallel compilers. :( LLVM lags in windows support, and GDC can generate faster code and supports more architectures.

Re: D-Man culture

2016-07-28 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 27 July 2016 at 19:50:13 UTC, Walter Bright wrote: partially unbuttoned blouse That's a faithful reference to the empty space in the middle of D-Man :)

Re: Calypso: Direct and full interfacing to C++

2016-07-19 Thread Kagamin via Digitalmars-d-announce
Aren't objects rarely passed by value? What's more interesting is how return by value is supported as it happens often: 1. return by value from D callee 2. receive an object returned by value and assign to a new variable 3. receive an object returned by value an assign it to an existing variabl

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Kagamin via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:35:58 UTC, John Colvin wrote: Without wanting to start a huge thing about this, see http://linuxmafia.com/faq/Licensing_and_Law/public-domain.html and http://www.rosenlaw.com/lj16.htm and please at least add an optional licencing under a traditional permissive open

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-17 Thread Kagamin via Digitalmars-d-announce
On Friday, 17 June 2016 at 04:54:37 UTC, Jason White wrote: Why the build script can't have a command line interface? It could, but now the build script is a more complicated and for little gain. It's only as complicated to implement required features and not more complicated. If the comman

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Kagamin via Digitalmars-d-announce
On Thursday, 16 June 2016 at 13:40:39 UTC, Atila Neves wrote: The idea would be to build reggae with the system dmd first (since having a D compiler is now a pre-requisite) If a D compiler is required, it means a prebuilt executable is not needed: rdmd should be enough to compile and run the b

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Kagamin via Digitalmars-d-announce
On Sunday, 12 June 2016 at 23:27:07 UTC, Jason White wrote: However, I question the utility of even doing this in the first place. You miss out on the convenience of using the existing command line interface. Why the build script can't have a command line interface?

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Kagamin via Digitalmars-d-announce
On Sunday, 12 June 2016 at 20:47:31 UTC, cym13 wrote: Yeah, I have often thought that writing a self-contained D program to build D would work well. The full power of the language would be available, there'd be nothing new to learn, and all you'd need is an existing D compiler (which we already

Re: Beta release DUB 1.0.0-beta.1

2016-06-13 Thread Kagamin via Digitalmars-d-announce
On Friday, 10 June 2016 at 17:45:54 UTC, Nick Sabalausky wrote: On 06/08/2016 11:04 AM, Kagamin wrote: BTW do people find nested comments particularly useful? God yes. It's the *only* block comment I ever use. Non-nesting comment blocks are a worthless PITA with no real benefit: You can't co

Re: Beta release DUB 1.0.0-beta.1

2016-06-08 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 09:15:09 UTC, Sönke Ludwig wrote: Two good properties about restricting to /+ +/ is that it's still possible to put something else in front of it, and that it stands out from the usual /* */ comments. It stands out because we don't have a recognizable convention fo

Re: Diamond - MVC / Template engine

2016-05-25 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote: Note: If you have a better suggestion, feel free to come with one :) I'd say do what razor does: raw output should require extra syntax. Weren't templates created in order to not build html in code?

Re: Diamond - MVC / Template engine

2016-05-24 Thread Kagamin via Digitalmars-d-announce
The values are injected unescaped by default?

Re: D's Auto Decoding and You

2016-05-19 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 18 May 2016 at 20:10:09 UTC, Jonathan M Davis wrote: So, while we do have enforcement of how ranges _can_ be used, we don't have enforcement of how they _are_ used, and I don't expect that we'll ever get that. It would help if there was documented standard testing procedure (and

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-18 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 18 May 2016 at 16:12:35 UTC, jmh530 wrote: Thought you might find this interesting: http://news.utexas.edu/2016/05/16/computer-science-advance-could-improve-cybersecurity and reddit discussion: https://www.reddit.com/r/technology/comments/4jvihm/computer_scientists_have_developed_a

Re: Battle-plan for CTFE

2016-05-16 Thread Kagamin via Digitalmars-d-announce
On Sunday, 15 May 2016 at 13:25:42 UTC, Martin Nowak wrote: So we do need a GC or RC for arrays, structs, classes (anything heapish). Values for those could be allocated by a simple bump/region allocator or a dedicated allocator that support individual freeing (via RC or GC). Wasn't it possib

Re: Adventures in D Programming

2016-05-13 Thread Kagamin via Digitalmars-d-announce
On Thursday, 12 May 2016 at 22:01:04 UTC, David Nadlinger wrote: Are there any bug reports for this, by the way? Thanks! I believe, it was the atomicOp bug. You can see the link to discussion there.

Re: C#7 features

2016-05-09 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 May 2016 at 00:44:09 UTC, Peter Häggman wrote: I wouldn't be surpised to see in the implementation an array of variant or something like that, explaining why it's limited to octuples [1]. You can also use anonymous types: http://ideone.com/WBRunL they are predated by tuples.

Re: C#7 features

2016-05-06 Thread Kagamin via Digitalmars-d-announce
On Friday, 6 May 2016 at 14:33:22 UTC, Andrei Alexandrescu wrote: Added a comment: https://www.reddit.com/r/programming/comments/4i3h77/some_new_c7_features/d2v5lu6 D has ref variables? Not for a long time though.

Re: Release D 2.071.0

2016-04-11 Thread Kagamin via Digitalmars-d-announce
On Monday, 11 April 2016 at 11:43:20 UTC, wobbles wrote: When updating with the .dev package on my Ubuntu 15.10 system https://forum.dlang.org/post/mailman.4114.1454138584.22025.digitalmars-d-annou...@puremagic.com

Re: Release D 2.071.0

2016-04-07 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 18:18:10 UTC, Jacob Carlborg wrote: It's all in the same module, I don't see how a protection attribute can affect anything. Compiler is probably confused by the absence of package to test the package protection against. It probably shouldn't be an error.

Re: Release D 2.071.0

2016-04-06 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote: module test; struct S { package int field; } void main() { S s; s.field = 1; // Deprecation: test.S.field is not visible from module test } You

Re: Small rdmd wrapper for windows

2016-03-31 Thread Kagamin via Digitalmars-d-announce
Maybe rdmd should parse D_INCLUDE_PATH itself? Then it would work on its own.

Re: LDC now supports Windows MSVC x86/x64 as first class targets

2016-03-21 Thread Kagamin via Digitalmars-d-announce
On Sunday, 20 March 2016 at 14:15:19 UTC, Manu wrote: MSVC debuginfo is very good; it has data such that variables follow their registers around in fully optimised builds, making release build debugging fast and effortless. That's backend feature, there are (usually) no registers on the fronte

Re: Event Dispatcher

2016-03-20 Thread Kagamin via Digitalmars-d-announce
On Thursday, 10 March 2016 at 18:08:15 UTC, Eugene Wissner wrote: Why not just extend the HelloWorld class and override the hello()? Imagine you write an apllication that should support plugins. And two independent plugins extend the HelloWorld. One plugin would conflict with the another. Event

Re: Qt's MOC getting replicated in D for Calypso

2016-02-22 Thread Kagamin via Digitalmars-d-announce
On Sunday, 21 February 2016 at 23:30:14 UTC, bachmeier wrote: I don't think that works for C++, and it's not complete. At least it's intended to generate bindings, Calypso does very different thing. So if one wants bindings generation, it would be easier to implement missing functionality in

Re: LDC 0.17.0 has been released!

2016-02-21 Thread Kagamin via Digitalmars-d-announce
AFAIK 3.8 received some recent win64 codegen bugfixes.

Re: Qt's MOC getting replicated in D for Calypso

2016-02-21 Thread Kagamin via Digitalmars-d-announce
Though fully automatic generation of bindings will be very difficult because DMD uses semantics deviating from that of C++, which will require some heuristic analysis.

Re: Qt's MOC getting replicated in D for Calypso

2016-02-21 Thread Kagamin via Digitalmars-d-announce
On Sunday, 21 February 2016 at 17:21:51 UTC, Brad Roberts wrote: Is there anything preventing Calypso from turning into a code and interface generator? Making it an application that is part of the build rather than a plug in to ldc would make it available to both dmd and gdc users, no? That'

Re: D Article: Memory Safety

2016-01-21 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 14:04:53 UTC, Jakob Ovrum wrote: The article aims to explain how to use @safe Um, no, the article doesn't explain how to use @safe, it shows patterns that can be used to write safe code. The target audience must already understand safety.

Re: Calypso progress report (+ updated MingW64 build)

2015-10-23 Thread Kagamin via Digitalmars-d-announce
On Thursday, 22 October 2015 at 23:24:57 UTC, Elie Morisse wrote: Default constructors are invoked Including class fields? class A { QString s_myFilename; this() { //is s_myFilename constructed already? } }

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse wrote: On Linux Calypso should be in a state usable enough to start a project assuming the lack of C++ exceptions or class destruction isn't a blocker to start it (but I'm looking into the latter right now), it has held up quite well w

Re: Beta D 2.069.0-b1

2015-10-13 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 13 October 2015 at 13:57:15 UTC, Meta wrote: On Tuesday, 13 October 2015 at 13:18:36 UTC, Kagamin wrote: Well, in order to pass the result of a function call to a template parameter means that the function must be evaluated at compile time, which is not always possible, so it probab

Re: Beta D 2.069.0-b1

2015-10-13 Thread Kagamin via Digitalmars-d-announce
On Sunday, 11 October 2015 at 09:54:04 UTC, Jacob Carlborg wrote: That would be me :) [1]. I think the biggest issue was that something that worked before stopped working, because a field was changed to a method and the method returned a function pointer. [1] http://forum.dlang.org/thread/ka

Re: Beta D 2.069.0-b1

2015-10-13 Thread Kagamin via Digitalmars-d-announce
On Saturday, 10 October 2015 at 02:57:03 UTC, Meta wrote: I don't know how much metaprogramming-heavy generic code you've written, but I can say from first-hand experience that there is such a thing as Hell, and it is called Optional Parens. Jokes aside, I've finally fixed (read: worked around

Re: A new article about working with files in D

2015-10-01 Thread Kagamin via Digitalmars-d-announce
On Monday, 28 September 2015 at 12:19:21 UTC, ponce wrote: I also like how readable your blog is. Mm? http://abload.de/img/tmpviqau.png

Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-23 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 16:24:33 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 22 September 2015 at 15:53:22 UTC, Kagamin wrote: Of course you didn't. In C you can mutate const object without cast. But it's not an issue because it's not what is usually done and usually const works as exp

Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-22 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 15:33:40 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 22 September 2015 at 15:11:55 UTC, Kagamin wrote: Another C feature you didn't know about: the standard allows to create a mutable pointer to const data and mutate it. I didn't? Of course I did. In C++ other

Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-22 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 14:53:54 UTC, Ola Fosheim Grøstad wrote: The consequences of a C function mutating something reachable through const is either a disaster or the D compiler will have to forget about those kind of optimizations after calling a C function. But then const has very

Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-22 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 11:04:17 UTC, Marc Schütz wrote: Can pragma(mangle, ...) be used on types? Then we can define a C/C++ compatible `HeadConst` template that simulates C/C++ const semantics, while still being mangled correctly I believe I've seen const declarations in C incorrect

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-16 Thread Kagamin via Digitalmars-d-announce
Ruby link points to reggae-python.

Re: Enumap -- a lightweight AA alternative when your keys are enums

2015-09-11 Thread Kagamin via Digitalmars-d-announce
On Friday, 11 September 2015 at 02:17:25 UTC, rcorre wrote: @nogc void donFancyHat(Enumap!(Attribute, int) map) { map.charisma += 1; } BTW, what this means? Isn't Enumap a value type?

Re: Beta D 2.068.0-b2

2015-07-31 Thread Kagamin via Digitalmars-d-announce
On Thursday, 30 July 2015 at 18:54:03 UTC, Rainer Schuetze wrote: That was fast. Thanks! README in github repo still has some outdated links to dsource. Also bugzilla address is https://issues.dlang.org/

Re: Beta D 2.068.0-b2

2015-07-29 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 29 July 2015 at 15:45:19 UTC, Taylor Hillegeist wrote: I guess what I mean to say is that they did it, maybe it can be done. Of course it can be done with an additional license agreement with microsoft. Of course VS Shell is still way more than is necessary for our purposes.

Re: Beta D 2.068.0-b2

2015-07-29 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 29 July 2015 at 01:55:35 UTC, Joseph Cassman wrote: There is probably an obvious reason this is not possible but I could not see it when reading through the MS licensing information. It seems to me the linker bin could be redistributed. 9. SCOPE OF LICENSE. The software is licen

Re: Case study on ranges and lazy evaluation

2015-07-21 Thread Kagamin via Digitalmars-d-announce
On Monday, 20 July 2015 at 17:26:31 UTC, Matt Kline wrote: http://bitbashing.io/be-lazy-use-ranges.html You assign off_t to size_t, won't compile on 32-bit system. You're safe to use simple `long` for file sizes and offsets.

Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce
On Saturday, 20 June 2015 at 17:53:43 UTC, Kagamin wrote: http://abload.de/img/tmp67se8.png Previously looked like this: http://abload.de/img/tmpkbqjv.png

Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce
http://abload.de/img/tmp67se8.png

Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce
On Saturday, 20 June 2015 at 16:26:53 UTC, Vladimir Panteleev wrote: On Saturday, 20 June 2015 at 15:59:07 UTC, Kagamin wrote: Cool. Something changed? Layout is much better now. Not sure what you mean. The left panel and pads disappeared.

Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce
Cool. Something changed? Layout is much better now. BTW unsent drafts stack up.

Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Kagamin via Digitalmars-d-announce
http://abload.de/img/tmphersb.png Maybe show full thread titles? They are weird when abbreviated.

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Kagamin via Digitalmars-d-announce
On Monday, 8 June 2015 at 08:00:12 UTC, Atila Neves wrote: But... if we're to think of replacing the current Makefiles for dmd, druntime and phobos, and if the build descriptions that are to replace them are to be truly cross-platform, then a binary backend is needed and a stripped down version

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Kagamin via Digitalmars-d-announce
On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code, i.e. no C/C++, no dub, no make/ninja. Why strip?

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Kagamin via Digitalmars-d-announce
The interface can follow that of vibe: --- build.d --- import std.experimental.build; Build myBuild(){ ... } mixin BuildMain!(myBuild); --- Then $ rdmd build.d - compile and run the script, which builds the project by default $ rdmd build.d -ninja - the script run with -ninja switch only gene

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 June 2015 at 14:16:13 UTC, Vladimir Panteleev wrote: Yes, we could do that, with the downside of implementing our own Markdown variant with its own instruction manual. Every site in the internet supports its own way to markup, some accept html, some - bbcode, some - markdown, so m

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 June 2015 at 14:16:13 UTC, Vladimir Panteleev wrote: What about supporting only a few features like hyperlinks and code blocks? These should be unambiguous and not conflict with anything. Yes, we could do that, with the downside of implementing our own Markdown variant with its o

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote: 5. You can't edit posts once sent. This means that if you accidentally messed up the formatting (e.g. you pasted code without padding it with whitespace or surrounding it in ```...``` blocks), you can't go back and edit it now.

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote: 1. People receiving messages through NNTP/mailing lists will not see the formatted Markdown. Although Markdown's goal is to be readable in its plain text source code, it still allows many situations in which the source is mislead

Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce
On Friday, 5 June 2015 at 09:53:34 UTC, Jonathan M Davis wrote: Remember that the forum software is just a frontend for an nntp server and that others view the content via nntp or via the mailing list. So, it doesn't make any sense to support features that involve anything other than plain tex

Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Kagamin via Digitalmars-d-announce
Space left for text reduced: http://abload.de/img/tmpkbqjv.png

Re: DevDocs.io: voting for D

2015-06-04 Thread Kagamin via Digitalmars-d-announce
https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D ?

Re: This Week in D: ... not much, actually

2015-05-25 Thread Kagamin via Digitalmars-d-announce
Or a long review for more content.

Re: Calypso: Direct and full interfacing to C++

2015-05-20 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 May 2015 at 00:20:46 UTC, Elie Morisse wrote: On Monday, 18 May 2015 at 12:27:35 UTC, Kagamin wrote: BTW how does it rely on having everything on the D side? Maybe it's enough to have just instance size and method symbols? I'm not sure what you mean. I mean a workaround for

Re: Calypso: Direct and full interfacing to C++

2015-05-18 Thread Kagamin via Digitalmars-d-announce
On Thursday, 14 May 2015 at 15:19:59 UTC, Elie Morisse wrote: - Many simple non-POD C++ classes are being mapped to D classes instead of structs, for example QFlags (qt5demo.d uses its alias Qt::Alignment) which is a wrapper around a single int but contains an overloaded assignment operator so

Re: Calypso: Direct and full interfacing to C++

2015-05-14 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 13 May 2015 at 15:54:47 UTC, John Colvin wrote: Are there are performance pitfalls to watch out for that are unique to the way calypso interfaces between D and C++? E.g. sneaky copies, implicit callbacks to keep things synced etc. As I understand, the major remaining issue is val

Re: Calypso milestone hit: D adaptation of Qt5 tutorial working

2015-05-09 Thread Kagamin via Digitalmars-d-announce
On Saturday, 9 May 2015 at 02:58:58 UTC, Mike wrote: Question: You are using a modified version of LDC, but is that compiler required to consume link to a library created with that custom compiler? What I mean is: Can you use this modified version of LDC to create a library, and then use a

Re: Calypso: Direct and full interfacing to C++

2015-04-29 Thread Kagamin via Digitalmars-d-announce
On Thursday, 23 April 2015 at 08:04:46 UTC, Kelly wrote: I haven't tried Qt yet because it needs to be hand-compiled with a user supplied namespace Aren't there precompiled versions?

Re: dsource.org moved

2015-04-27 Thread Kagamin via Digitalmars-d-announce
On Saturday, 25 April 2015 at 03:36:24 UTC, Rikki Cattermole wrote: [0] http://www.sourcetreeapp.com/ Git got a proper visualization of commit tree? :)

Re: Trial migration of Dsource bindings project to Github

2015-04-27 Thread Kagamin via Digitalmars-d-announce
On Friday, 24 April 2015 at 21:45:08 UTC, Stewart Gordon wrote: ?? I've had a quick look, and can't at the moment see what in that thread relates to using SVN. It discusses acceptability of any alternative to git workflow, patches in that case.

Re: Trial migration of Dsource bindings project to Github

2015-04-24 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 21 April 2015 at 21:31:39 UTC, Stewart Gordon wrote: How does using SVN lead to "fragmentation"? I don't understand. See http://forum.dlang.org/post/mailman.3160.1418550079.9932.digitalmar...@puremagic.com

Re: Calypso: Direct and full interfacing to C++

2015-04-22 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 21 April 2015 at 15:21:20 UTC, Elie Morisse wrote: So Calypso still can't load the MSVC C++ standard lib. I thought Kelly managed to build some STL examples but actually it's not remotely possible yet. The main blocker is that template instances often depend on each other (but not i

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-07 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 7 April 2015 at 08:28:08 UTC, Dicebot wrote: And I have never been speaking about "normal WPO", only about one specific to D semantics. AFAIK, hypothetical D-specific optimizations were never implemented (like elision of pure calls and optimization of immutable data). But they wor

Re: Standardpaths library

2015-04-07 Thread Kagamin via Digitalmars-d-announce
On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: So if some configuration is "portable" and you want to create something really fine grained you could offer that directory as an alternative "roaming config dir" (returning null or "~/.config" on Linux). Though it's unusual for an ave

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-05 Thread Kagamin via Digitalmars-d-announce
On Sunday, 5 April 2015 at 12:22:15 UTC, Dicebot wrote: Unless LDC does some D specific WPO magic I am not aware of this is not what your original statement was about. llvm does normal WPO in a sense that compiled code is not opaque. Erm. Either it is coding style issue or a language issue. Pi

Re: Standardpaths library

2015-04-05 Thread Kagamin via Digitalmars-d-announce
On Sunday, 5 April 2015 at 09:08:14 UTC, FreeSlave wrote: And github repo https://github.com/MyLittleRobo/standardpaths If I understand meaning of PublicShare correctly, it's CSIDL_COMMON_APPDATA on Windows.

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-05 Thread Kagamin via Digitalmars-d-announce
On Saturday, 4 April 2015 at 19:59:46 UTC, Dicebot wrote: We need solutions that can be reasonably implemented with existing resources, not perfect solutions. Storing IR in object files and using custom linker is "correct" approach for WPO but it is currently unaffordable. Works for me with l

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Kagamin via Digitalmars-d-announce
On Saturday, 4 April 2015 at 07:44:12 UTC, Atila Neves wrote: I'm of the opposite opinion. I don't care if full builds take 1h as long as incremental builds are as fast as possible. Why would I keep doing full builds? That's like git cloning multiple times. What for? Full build is important w

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Kagamin via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:55:00 UTC, Dicebot wrote: Complicates whole-program optimization possibilities. Old school object files are simply not good enough to preserve information necessary to produce optimized builds and we are not in position to create own metadata + linker combo to cir

Re: Gary Willoughby: "Why Go's design is a disservice to intelligent programmers"

2015-03-26 Thread Kagamin via Digitalmars-d-announce
On Thursday, 26 March 2015 at 10:17:42 UTC, Kagamin wrote: On Wednesday, 25 March 2015 at 22:30:15 UTC, Ola Fosheim Grøstad wrote: Downplaying other languages makes the D crowd look desperate... Heh, there were whole sites like phpain (can't find it now) and something similar for C++. Actua

Re: Gary Willoughby: "Why Go's design is a disservice to intelligent programmers"

2015-03-26 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 25 March 2015 at 22:30:15 UTC, Ola Fosheim Grøstad wrote: Downplaying other languages makes the D crowd look desperate... Heh, there were whole sites like phpain (can't find it now) and something similar for C++.

Re: GtkD 3.0-beta

2015-03-10 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 March 2015 at 18:48:53 UTC, captaindet wrote: after original & package installation & setup & whatnot, will i end up with a dedicated gtk3 folder msys provides pacman and gtk3 package to fetch (and build?).

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
On Friday, 6 March 2015 at 20:22:42 UTC, Ben Boeckel wrote: You're making assumptions about the features of your users' editors. These features are not trivial to implement Implementation of three different word wrapping algorithms in Scintilla took 52 lines of code. For comparison: a rudiment

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
In fact, I failed to find good monospace font for source code, it used to be Courier New 9pt, but it works well only on displays no bigger than 1024*768.

Re: dfmt 0.1.0

2015-03-07 Thread Kagamin via Digitalmars-d-announce
On Friday, 6 March 2015 at 20:22:42 UTC, Ben Boeckel wrote: And I find that monospace fonts tend to make it much easier to tell the difference between 'l', '1', and 'I'. Not so important in English, but it can be all the difference in code. http://abload.de/img/tmpr3uv6.png I see no less diff

Re: Calypso: Direct and full interfacing to C++

2015-02-24 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 24 February 2015 at 08:39:39 UTC, Kelly wrote: due to class value support being incomplete What about using that trick: recognize C++ classes and represent them internally as structs with altered mangling - at least it frees you from messing with D classes.

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
Or even more obvious (VBA,TSQL): set (x,y,z) = [1,2,3];

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
On Thursday, 19 February 2015 at 10:52:40 UTC, Kagamin wrote: On Thursday, 19 February 2015 at 09:50:25 UTC, bearophile wrote: I prefer "let", it's much more traditional and descriptive. C++ standard library is often a bad example to follow... Doesn't "let" normally declare a new variable? h

Re: let (x,y) = ...

2015-02-19 Thread Kagamin via Digitalmars-d-announce
On Thursday, 19 February 2015 at 09:50:25 UTC, bearophile wrote: I prefer "let", it's much more traditional and descriptive. C++ standard library is often a bad example to follow... Doesn't "let" normally declare a new variable?

Re: Packt is looking for someone to author a "Learning D"

2015-02-18 Thread Kagamin via Digitalmars-d-announce
Well, Word can diff and merge documents, though, it works with sharepoint, not vcs.

Re: Packt is looking for someone to author a "Learning D"

2015-02-18 Thread Kagamin via Digitalmars-d-announce
On Sunday, 15 February 2015 at 04:38:08 UTC, Craig Dillabaugh wrote: Just my personal opinion as one who recently finished a 200 page thesis in Latex, and is now working for a company where we do all our internal documents in Word. Latex certainly has its ugly warts, but it is so nice for leng

Re: Calypso: Direct and full interfacing to C++

2015-02-16 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 17 February 2015 at 02:16:58 UTC, Kelly wrote: P.S. I HATE THIS FORUM EDITORplease add a preview button, whoever takes care of this!?!? I take notes in a different editor and then paste here and it looks fine, only to end up mangled when actually submitted...ugh :) You me

Re: Calypso: Direct and full interfacing to C++

2015-02-16 Thread Kagamin via Digitalmars-d-announce
http://forum.dlang.org/post/mbqt88$a6n$1...@digitalmars.com looks like C++ class support is shifting to value types.

Re: Calypso: Direct and full interfacing to C++

2015-02-09 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 February 2015 at 04:33:04 UTC, Kelly wrote: Ugh, this forum needs a preview button!! Sorry about the poor formatting, Kelly http://pastebin.com/

Re: Calypso: Direct and full interfacing to C++

2014-12-24 Thread Kagamin via Digitalmars-d-announce
Or it can switch depending on preprocessor definitions: --- class WXDLLIMPEXP_BASE wxString #ifdef wxNEEDS_WXSTRING_PRINTF_MIXIN : public wxStringPrintfMixin #endif { ---

Re: Calypso: Direct and full interfacing to C++

2014-12-23 Thread Kagamin via Digitalmars-d-announce
On Monday, 22 December 2014 at 23:14:44 UTC, Elie Morisse wrote: • Structs https://github.com/Syniurge/Calypso/blob/master/tests/calypso/showcase.d testClass cls = new testInherit; This should be written testClass* cls = new testInherit; In C++ struct and class differ only in symbol mangl

Re: Calypso: Direct and full interfacing to C++

2014-12-23 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 23 December 2014 at 07:18:01 UTC, Dicebot wrote: Project itself is very cool but I am in doubts about possibility of merging this upstream. Doing so would make full D implementation effectively impossible without some C++ compiler already available as a library on same platform - q

Re: 2D game engine written in D is in progress

2014-12-19 Thread Kagamin via Digitalmars-d-announce
On Friday, 19 December 2014 at 17:21:43 UTC, ketmar via Digitalmars-d-announce wrote: have, as i still got the closed proprietary system. what google really has with their "open-sourceness" is a bunch of people that works as additional coders and testers for free. Well, those people want to d

Re: C# to D Compiler :)

2014-12-19 Thread Kagamin via Digitalmars-d-announce
On Friday, 19 December 2014 at 08:11:42 UTC, Ronald Adonyo wrote: Done, does anyone have a good idea of how to write Async/Await using fibers or state machines in D ? Same as in .net, look at the generated IL, an async method should return a chain of tasks.

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Kagamin via Digitalmars-d-announce
On Thursday, 4 December 2014 at 02:29:39 UTC, Faux Amis wrote: This has to be a joke! I couldn't answer a single question: What is the name of the D language syntax feature illustrated in the following fragment of D code? string a = x"5095 f9 95d723c2"; Seems like hex to me What is the nam

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 00:56:12 UTC, Brad Anderson wrote: Maybe make the ones on d.learn extremely simple. --- What does the follow program print? void main() { import std.stdio : writeln; writeln("foo"); } --- No algorithms, no math. Just extremely basic

<    1   2   3   >