Re: Inconsitency

2013-10-13 Thread Michael
implementation, shouldn't writeln("säд"[2]) return "д" instead of the trailing surrogate of this cyrillic letter? First index is zero, no?

Re: review queue: next?

2013-10-13 Thread Michael
+1 signal

Re: Signal, event and bicycle

2013-10-13 Thread Michael
From a quick glance at your code, I believe you are using the hooks wrong. In particular, what's the purpose of: this.attachOnDestroy(&onSelfDestroy); ? It prevents InvalidMemoryOperationError when in different cases observer or observable not destroyed manually; Also it is was implemente

Re: Signal, event and bicycle

2013-10-13 Thread Michael
I saw the announcement about new signal some time ago. D Language is amazing, but in this case it's looks like little bit complicated. I written my code in terms of simplicity: using a standard language features and simple design. In the broadest sense it was a little experiment. As result

Signal, event and bicycle

2013-10-11 Thread Michael
hg.m1xa.com/codewithd/commits/d81bfa586c7bd260afc19093fff6e42d66916860 Change-set contains two files: observer.d and event.d Code is simple. It would be great if this code will work without rt_... functions. Any comments?

Re: Debugging support for D - wiki

2013-09-23 Thread Michael
What about Win64 and VS Debugger?

Re: [OT] Language Cocktail

2013-09-18 Thread Michael
On Wednesday, 18 September 2013 at 09:11:06 UTC, Namespace wrote: On Wednesday, 18 September 2013 at 09:09:45 UTC, Iain Buclaw wrote: On 18 September 2013 09:38, Namespace wrote: http://consoleblog.me/posts/cocktails-for-programmers Any suggestions for D? Should make a cocktail named 'Garba

Re: [OT] Language Cocktail

2013-09-18 Thread Michael
On Wednesday, 18 September 2013 at 08:38:05 UTC, Namespace wrote: http://consoleblog.me/posts/cocktails-for-programmers Any suggestions for D? Vodka plus orangeade or just vodka for real men, yes? )))

Re: [OT] Which IDE / Editor do you use?

2013-09-17 Thread Michael
Besides, we aren't on 300 baud serial lines! As backup line I have 56k dial-up modem ;) We still trolling each other about IDE ?) Or Win 8.1 UI is the best UI?

Re: [OT] Which IDE / Editor do you use?

2013-09-15 Thread Michael
On Sunday, 15 September 2013 at 18:24:11 UTC, Dicebot wrote: On Sunday, 15 September 2013 at 18:21:35 UTC, Michael wrote: KDE, Gnome, Unity, Xfce wtf? Win 8.1 rocks) I was astonished when had a look at Win 8 preview and have noticed basically Shell / Unity overview as a start screen

Re: [OT] Which IDE / Editor do you use?

2013-09-15 Thread Michael
KDE, Gnome, Unity, Xfce wtf? Win 8.1 rocks)

Re: Top Github Languages for 2013 (so far)

2013-09-14 Thread Michael
Well D is now position 39 (September 2013)! Challenge accepted)))

Re: [OT] Which IDE / Editor do you use?

2013-09-14 Thread Michael
On Friday, 13 September 2013 at 19:48:18 UTC, Namespace wrote: Just out of interest. I use Sublime 2, Notepad++ and as IDE currently Mono-D. But I will try this evening VisualD. Sublime Text 3 or TextAdept, 4 whitespaces as tab)))

Re: new DIP47: Outlining member functions of aggregates

2013-09-08 Thread Michael
On Sunday, 8 September 2013 at 09:15:52 UTC, Namespace wrote: I'm against it. More important than such a gimmick are the many open bugs, auto ref, AA, scope, etc. And don't forget the implementation of the virtual keyword. +1

Re: Top Github Languages for 2013 (so far)

2013-09-04 Thread Michael
On Wednesday, 4 September 2013 at 05:02:06 UTC, Peter Alexander wrote: On Tuesday, 3 September 2013 at 17:09:04 UTC, Michael wrote: Main line is positive trend over all year ;)

Re: Top Github Languages for 2013 (so far)

2013-09-03 Thread Michael
On Tuesday, 3 September 2013 at 13:13:11 UTC, Elvis wrote: http://adambard.com/blog/top-github-languages-for-2013-so-far/ GitHub is GitHub only ;) SourceForge Index: 21, TIOBE Index: 22. Over last year the D has a positive trend on TIOBE. Waiting for September's update. /* The language for

Re: DQuick a GUI Library (prototype)

2013-08-23 Thread Michael
On Thursday, 22 August 2013 at 21:44:57 UTC, Andrej Mitrovic wrote: On 8/22/13, Michael wrote: For me it's no problem) How are other people supposed to track bugs? Anytime someone runs into a bug that other people have already run into, the user has to waste time writing emails whe

Re: DQuick a GUI Library (prototype)

2013-08-22 Thread Michael
On Thursday, 22 August 2013 at 21:11:32 UTC, Andrej Mitrovic wrote: On 8/22/13, Michael wrote: Cite: The official support mechanism is by e-mail, using i...@tecgraf.puc-rio.br Well that's discouraging.. For me it's no problem) For additional comments it's better to contact

Re: DQuick a GUI Library (prototype)

2013-08-22 Thread Michael
[1] : http://forum.dlang.org/thread/pvplfosyrrgigtusp...@forum.dlang.org#post-afokkalgzxrsbnvpqgou:40forum.dlang.org [2] : https://bitbucket.org/alphaglosined/libglosined (see the iup directory) It's looks as low-level-one-to-one D binding to C. Now I trying to build a somewhat from examples

Re: DQuick a GUI Library (prototype)

2013-08-22 Thread Michael
But where's the bug tracker? Cite: The official support mechanism is by e-mail, using i...@tecgraf.puc-rio.br Additional info on official site ;) By the way there is no problem in communication with Tecgraf IUP team.

Re: DQuick a GUI Library (prototype)

2013-08-22 Thread Michael
Full support of Unicode in upcoming release at end of August. OS X in progress, help needed. Development and bugs fixing are very active, mailing lists available via sf.net.

Re: Ideas for a brand new widget toolkit

2013-08-13 Thread Michael
Maybe a port of Fltk library? Small and good enough.

Re: Alternative to Github downloads

2013-08-13 Thread Michael
On Tuesday, 13 August 2013 at 17:38:15 UTC, Jacob Carlborg wrote: Is there anyone that have a good alternative to Github downloads? BitBucket, CodePlex, SourceForge SkyDrive, DropBox WindowsAzure, Amazon AWS

Re: D web/server app hosting

2013-08-06 Thread Michael
On Tuesday, 6 August 2013 at 11:58:37 UTC, Luís Marques wrote: Are you developing Web / server applications in D? VPS on waveride.at (EDIS)

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

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

Re: dynamic libraries not runtime loadable on linux after all? confused by lack of Posix implementation of rt_loadLibrary in dmain2.d

2013-07-26 Thread Michael
On Friday, 26 July 2013 at 19:42:59 UTC, J wrote: I thought that runtime loading of dynamic libraries was implemented on Linux. If you need load a library with C interface, You can use something like http://hg.m1xa.com/codewithd/src (see simple.f95 and symload.d)

Re: Permanent links to stable dmd .deb, .exe etc

2013-07-22 Thread Michael
On Saturday, 20 July 2013 at 15:52:33 UTC, Jordi Sayol wrote: On 20/07/13 17:31, Michael wrote: Hi, D community. DMD is released regularly, but third party projects owners doesn't want or doesn't have time to update documentation. It's will be cool to have permanent links

Permanent links to stable dmd .deb, .exe etc

2013-07-20 Thread Michael
Hi, D community. DMD is released regularly, but third party projects owners doesn't want or doesn't have time to update documentation. It's will be cool to have permanent links to most resent stable dmd release archive, linux .deb, .rpm package, windows installer, etc. Who can help with this

Re: Official D Grammar

2013-07-20 Thread Michael
On Friday, 19 July 2013 at 20:49:27 UTC, Brian Schott wrote: Status update: excluding c-style array declarations, which I'm convinced are broken and should be removed from the language +1 I found for myself that "native" style arrays are more natural.

Re: Automatic Interface Implementation

2013-07-05 Thread Michael
It's looks like he modify a source code from std.typecons (something like class AutoImplement?) and a new thing called "wrap" was created. Like two fingers on the asphalt)

Re: SIMD on Windows

2013-06-29 Thread Michael
versioning on Win32/Win64 no longer works. Why? or What exactly? Details please)

Re: DMD under 64-bit Windows 7 HOWTO

2013-06-28 Thread Michael
bat file that sets environment for D and related stuff. - @ECHO OFF SET MS_VC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC SET MS_SDK_PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A SET DE=%CD%\Environment SET DEC=%DE%\Compiler SET DER=%DE%\Runtime SET DET=%DE%\T

Re: fun project - improving calcHash

2013-06-23 Thread Michael
https://code.google.com/p/xxhash/ BSD 2-Clause License

Re: SIMD on Windows

2013-06-23 Thread Michael
Cool))) Any chances to see it [coff32] in official build?

Re: SIMD on Windows

2013-06-21 Thread Michael
Check twice where is yours 64 bit tools installed. Paths something diff in Win8, VS2010, VS2012 Express installations.

Re: More Linux love?

2013-06-15 Thread Michael
I use Win 8 Pro 64 bit and stable Debian on VirtualBox without big problems.

Re: DMD under 64-bit Windows 7 HOWTO

2013-06-02 Thread Michael
The last issue is the announcement that VS 2012 update 3 is the last one and developers will need to buy VS.Next for the remaining C++11 updates and the by side updates are actually not going to happen. I think they will start a new release circle of product, but compiler tools will remain

Re: Are people using textmate for D programming?

2013-05-25 Thread Michael
Where do I put it? Thanks, Andrei http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html

Re: Are people using textmate for D programming?

2013-05-25 Thread Michael
OK, you convinced me to try. But my SublimeText OSX installation does not contain the D.tmPackage file described at https://github.com/alexrp/st2-d. Where do I put it? Thanks, Andrei ST2 and ST3 have built-in D Syntax highlighting. ST3 now in the beta stage, but have improved mac os x suppor

Re: File compare/merge

2013-04-02 Thread Michael
WinMerge on Windows, kdiff on Linux.

Re: static property without return type

2013-03-18 Thread Michael
I see. I agree with Andrej Mitrovic, it's curious feature, but misleading.

static property without return type

2013-03-16 Thread Michael
Why Dmd accepts? class E { @property public static pro(Object v) { } } Dmd 2.062 Win 64

Re: #D_lang vs #Dlang hashtags

2013-03-14 Thread Michael
* It is more natural, what most people would guess on * It saves another of the 140 characters * Is much easier to type I just kill another of 140 chars and add both hashes. More spam - better marketing. I believe - we win!

Re: Error: 0xc0000005, Dmd Win 64

2013-03-09 Thread Michael
Crash also occurs when int[] a; a.length = 10; So, it's maybe something wrong with ms c runtime of VS 2012. Just installed Update 2 for VS 2012, not helps.

Re: Error: 0xc0000005, Dmd Win 64

2013-03-09 Thread Michael
This code works good. string cwd() { import core.sys.windows.windows; wchar[] ret = new wchar[10240]; auto n = GetCurrentDirectoryW(to!DWORD(ret.length), ret.ptr); return ret[0 .. n].to!string(); } Also similar problem/crash occurs in "dirEntries" on 64 bit.

Re: Error: 0xc0000005, Dmd Win 64

2013-03-09 Thread Michael
I don't see it crashing over here. What version of dmd are you using? Do you have some extra long cwd or some non-standard characters in your path? Usual path is "D:\Dev\M1xA\D" OS: Win 8 Pro 64 bit DMD 2.062 VS 2012 Express for Desktop Code from Phobos successfully compiles, but crashes on 64

Re: dirEntries second encounter

2013-03-08 Thread Michael
And std.utf is broken on Win 64?

dirEntries second encounter

2013-03-08 Thread Michael
Dmd 2.062, Win 8 x64 Example from http://forum.dlang.org/thread/pnuxfheeaqwyfjdqw...@forum.dlang.org crashes here dfiles = dirEntries(compiler.srcDestination, "*.d", SpanMode.depth); files = dfiles.array; And "absolutePath" also is broken (as it is use a getcwd as default param) As I as

Re: Error: 0xc0000005, Dmd Win 64

2013-03-08 Thread Michael
So, there is problem in toUTF8 in std.utf "toUTF8(in wchar[] s)". string cwd()// copied from phobos { writeln("start"); import core.sys.windows.windows; writeln("buff"); wchar[] ret = new wchar[10240]; writeln("call"); auto n = GetCurrentDirectoryW(to!DWORD(ret.length), re

Re: Error: 0xc0000005, Dmd Win 64

2013-03-08 Thread Michael
On Friday, 8 March 2013 at 13:25:42 UTC, Michael wrote: Code works good on Win 32, but at start on Win 64 I got: Exception code: 0xc005 Fault offset: 0x000132c5 If "auto currDir = getcwd();" commented, error is not appear. getcwd broken on win 8 x64?

Error: 0xc0000005, Dmd Win 64

2013-03-08 Thread Michael
Code works good on Win 32, but at start on Win 64 I got: Exception code: 0xc005 Fault offset: 0x000132c5 void main(string[] args) { auto workDir = "build_tmp"; auto currDir = getcwd(); string[] src; string[] obj; string cfg = "build.json"; Compiler compiler;

Re: strange compiler error

2013-02-27 Thread Michael
Sorry, this doesn't answer your question but in general, if you are not going to pass the parameter to another function that requires a 'string', then it is better to define that function parameter as 'const char[]': Tuple!(string[], FnType) parse(const char[] source) { // ... } That way

strange compiler error

2013-02-27 Thread Michael
dmd extern.d extern.d(22): Error: undefined identifier r, did you mean template tr(C1, C2, C3 , C4 = immutable(char))(C1[] str, const(C2)[] from, const(C3)[] to, const(C4)[] modifiers = null)? extern.d(22): Error: '__error' must be of integral or string type, it is a _erro r_ dmd extern.d ex

Re: Alias syntax removal

2013-02-23 Thread Michael
Why I argue that the syntax `alias this = sym;` is wrong? Because: 1. A normal alias declaration (creating aliased name for existing symbol) and alias this feature (making a *subtyped* struct through implicit access to its field) are entirely different and has distinct semantics. They merely

Re: What happened to the alias this = identifier syntax in 2.062?

2013-02-22 Thread Michael
There is no justification for this. I guess the main issue is that alias blah this; shouldn't have made it into the grammar in the first place. But this was obviously done in order to establish a broken analogy to the other uses of alias. Either alias this=blah; must be kept or the alias this

Re: What happened to the alias this = identifier syntax in 2.062?

2013-02-22 Thread Michael
Was something changed intentionally or is this a bug? It was changed intentionally, but only for alias this. That syntax is allowed still for other aliases. Bye, bearophile I see, thanks. What was the reason for not allowing alias this = identifier? Requiring lookahead when parsing. Al

Re: D is coming to a town near you

2013-02-20 Thread Michael
Wait, wait, so you're saying, this random guy sitting next to you is, of all things, coding in D, and you didn't even have a conversation with him?! No time for explain, I will write it in D!!!

Re: WPFfor d

2013-02-20 Thread Michael
Most allow you to tweak certain aspects, not remove the entire rendering output and start over. I've never found any OS widget kit that allows completely and total control of the widget at the pixel level. On win mobile if std win forms were not enough, we were able use win api(good old c and

Re: Domains

2013-02-19 Thread Michael
Although there is a little chance one of the news group folks has just registered it. :) We have one more recruit - Foy Savas, rubyist ;) D definitely have cookies)))

Re: WPFfor d

2013-02-18 Thread Michael
On Monday, 18 February 2013 at 15:05:03 UTC, Roy Obena wrote: The closest thing to WPF that you can use in D is QML/QtD. So why not support QML/QtD? Overhead in api bindings. Wpf and its data banding system are intented for MVVM pattern. It's have own + and -. It's more realistic to buil

Re: WPFfor d

2013-02-17 Thread Michael
XAML is a descriptive markup language and has nothing to do with WinForms. just google winforms xaml. And Microsoft is promoting C++/XAML for Windows Store Applications, you cannot write desktop applications using WinRT. You're stuck in the desktop world to classic WinAPI/C++ development

Re: WPFfor d

2013-02-17 Thread Michael
On Sunday, 17 February 2013 at 15:29:56 UTC, Paulo Pinto wrote: There we go again, XAML is WPF. xaml can be used with WinForms. yes, maybe technology the same, but concrete implementations are different. For example, they all use hardware acceleration.

Re: WPFfor d

2013-02-17 Thread Michael
On Sunday, 17 February 2013 at 03:28:29 UTC, js.mdnq wrote: WPF is pretty nice for .net. Is there any work towards building a nice gui presentation layer for D, something that has or will have all those nice modern features we are seeing in stuff like WPF, QT, etc? WPF - hardware accelerated

Re: Win64, SUBSYSTEM:WINDOWS and friends

2013-02-17 Thread Michael
Oh, sorry. Valid linker flag to do this -L/ENTRY:"_Dmain"

Win64, SUBSYSTEM:WINDOWS and friends

2013-02-17 Thread Michael
MS linker by default allocates console window for programm if he see a main function as entry point and not allocates if he see a WinMain function as entry point. So, if I don't want ugly console window for gui app, I can specify SUBSYTEM:WINDOWS linker flag and change a main to WinMain. But

Re: Anonymous structs

2013-02-13 Thread Michael
In some DSL a struct can be defined as something like: auto myStruct = new Struct("a:int; b:string; c:boolean"); So this looks like a simple dictionary or AA like Variant[string] myStruct. I don't see big difference in use. So D Way approach is Tuple -simple and good enough.

Re: Boost.units ported to D

2013-02-11 Thread Michael
It is possible write something like? auto force = 2.0 * SI.Newton; auto energy = force * 2.0 * SI.Meter;

Re: DIP25 draft available for destruction

2013-02-09 Thread Michael
Two more things: Disable a read/write propa like int getSetSomeInteger(int). int getSomeInteger() and void setSomeIntger(int) only allowed. And disable default parameter for setter.

Re: DIP26: properties defined

2013-02-09 Thread Michael
On Friday, 8 February 2013 at 23:53:40 UTC, Robert wrote: Ok. Here finally it is: http://wiki.dlang.org/DIP26 Best regards, Robert Why I should write fun()() when property returns a delegate? Additional () should not be necessary. Also combo properties like int get_set_IntValue(int) I thin

Re: Property discussion wrap-up

2013-02-02 Thread Michael
Just cross posting proposal http://forum.dlang.org/post/rnwpxkmyihpzqlevh...@forum.dlang.org Thanks)

Re: Possible @property compromise

2013-02-02 Thread Michael
As proposal: class Example { public int IntProperty { get; private set; } private double _internalMember; double FloatProperty { get out { assert(result > 0); } body { return _internalMember * 42; } set in { assert(value != 0); } body { _interna

Re: Possible @property compromise

2013-01-31 Thread Michael
Static nested struct as property... what is going on... In this case is better to simply rid-off @property keyword. "Properties" are better implemented where they created. Maybe have bugs in design, but I think that property should be a simple access method/function without struct-and-whatever-

Re: Possible @property compromise

2013-01-30 Thread Michael
As interface api good practice is usage virtual public functions of classes. So, (virtual) properties add an additional usefulness.

Re: Do we want functions to act as properties, or merely omit parens for ufcs/chaining?

2013-01-29 Thread Michael
On Tuesday, 29 January 2013 at 19:36:50 UTC, Minas Mina wrote: My opinion is to allow calling a function without parentheses only in UFCS (properties must be called without). Is that so hard to implement? +1, and workaround: @property I Do(alias fun, I)(I o) { return o is null ? null : (f

Re: @property - take it behind the woodshed and shoot it?

2013-01-28 Thread Michael
On Monday, 28 January 2013 at 21:03:04 UTC, Max Samukha wrote: Let's face it: there are *no* objective criteria for determining whether a mutator should be a function or property setter. Yes, but also it's should be a lightweight action (main idea). As proposal: http://forum.dlang.org/post/y

Re: @property - take it behind the woodshed and shoot it?

2013-01-27 Thread Michael
I think that "property as contract for accessing to variable" is good point. Maybe we have lack proper terminology, but idea is good. Also it is can be pointed as "property itself - is static contract to accessing variable". class A{ private int i; int foo{ out out(result){assert

Re: @property - take it behind the woodshed and shoot it?

2013-01-27 Thread Michael
On Sunday, 27 January 2013 at 12:07:35 UTC, Jacob Carlborg wrote: Won't this conflict with contracts, which also uses the "in" and "out" keywords? As suggestion: Property CoolThing looks like code contract for _privateCoolThing. So it's maybe + or -. At all, it looks like C# style in D Way.

Re: @property - take it behind the woodshed and shoot it?

2013-01-27 Thread Michael
int CoolThing { in; out; } - auto property without implementation; int CoolThing { private in; out; } - private setter; public getter; int CoolThing { in { _privateCoolThing = @value * 42; } out { return 42; } } Explicit calling: void in_CoolThing(int); int out_

Re: Shadowing of members

2013-01-20 Thread Michael
On Wednesday, 16 January 2013 at 12:23:51 UTC, Andrey wrote: class B { protected int a=123; } class A : B { int f(int b) { //int a;// <--- I forgot to write this line ...

Re: about lambdas

2013-01-03 Thread Michael
I just doing a chained null checks. And I prefer when code looks like "a => ...". In any case we have two ways to do same thing: "a => {...}()" and "(a){...}". Thanks Timon)

Re: Proposal: DPM, the D Package Manager

2013-01-03 Thread Michael
Windows have NuGet for Visual Studio or console client. It is difficult to create package for each OS. In this case we need a script that make a package for each OS or a one maintainer. Or we need a one tool(script written in D) for the D (I mean D - the D Platform) and website with list of p

Re: about lambdas

2013-01-03 Thread Michael
Thanks guys) auto With(alias fun, I)(I o) // maybe add a template constraint here { static if(isAssignable!(I, typeof(null))) return o is null ? null : fun(o); else return fun(o); } foreach(p; persons) p.With!(x => x.address); Now i

about lambdas

2013-01-02 Thread Michael
R With(I, R)(I o, R function (I) fun) { static if(isAssignable!(I, typeof(null))) return o is null ? null : fun(o); else return fun(o); } class Person { private { string _name; Address _address;

Re: Segmentation fault

2012-12-23 Thread Michael
dmd ./main.d -debug -profile -w -v -g -cov -gs // version v2.060 Reproducible. dmd ./main.d -release -noboundscheck -O // version v2.060 Irreproducible. Win 8 x64, dmd x32.

Re: OT (partially): about promotion of integers

2012-12-12 Thread Michael
Even OOP possible in asm. It's completely OT ;)

Re: OT (partially): about promotion of integers

2012-12-12 Thread Michael
Thread (and etc) is a high level abstraction that requires a support by hardware/software/instruction set. If it necessary, library can be integrated to language. And it's another one question about design.

Re: OT (partially): about promotion of integers

2012-12-12 Thread Michael
I read all thread and conclude that developers want a one button - 'do all what I need'. As mentioned above, for example, python have a arbitrary int (that implemented as C library ;)). C can be used on many platforms. For each platform developer have solution as library. Right way is creati

Re: OT (partially): about promotion of integers

2012-12-12 Thread Michael
And about C# checked: http://msdn.microsoft.com/ru-ru/library/74b4xzyw.aspx By default it is only for constants. For expressions in runtime it must be explicitly enabled. en link: http://msdn.microsoft.com/en-us/library/74b4xzyw.aspx

Re: OT (partially): about promotion of integers

2012-12-12 Thread Michael
Machine/hardware have a explicitly defined register size and does know nothing about sign and data type. fastest operation is unsigned and fits to register size. For example in your case, some algorithm that coded with chained-if-checks may come unusable because it will slow. And about C# ch

Re: @property needed or not needed?

2012-12-04 Thread Michael
void f() { writeln("hi"); } f; // this currently works I don't know if this is possible to implement. I expect it is, perhaps by disallowing calling a property function with no arguments. It's regular function called as property [getter] of module. It's nice to have @property like in C

Re: @property needed or not needed?

2012-12-04 Thread Michael
void f() { writeln("hi"); } f; // this currently works I don't know if this is possible to implement. I expect it is, perhaps by disallowing calling a property function with no arguments. It's regular function called as property [getter] of module. It's nice to have @property like in C

Re: Garbage Collector

2012-12-01 Thread Michael
If it possible maybe some info can be taken from mono project?

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-15 Thread Michael Eisendle
It would be really awesome if you could ship the shirts to the EU. I pledged 50$ nonetheless, if only there'll be recordings it will be awesome enough :) On Thursday, 15 November 2012 at 15:13:28 UTC, Andrei Alexandrescu wrote: On 11/15/12 6:39 AM, Joseph Rushton Wakeling wrote: On 10/22/201

Re: [OT] Re: More D & Rust

2012-10-18 Thread Michael
The announcement seems to suggest you might need an older mingw: https://mail.mozilla.org/pipermail/rust-dev/2012-October/002489.html Also if you had 0.3 you need to uninstall it before installing 0.4. Yes. I read it. It is annoying.

Re: More D & Rust

2012-10-17 Thread Michael
I can't compile even hello world on both Win 7 and Win XP. rust 0.4, latest mingw.

Re: DIP19: Remove comma operator from D and provision better syntactic support for tuples

2012-10-06 Thread Michael
On Sunday, 23 September 2012 at 20:39:38 UTC, Andrei Alexandrescu wrote: I discussed this with Walter, and we concluded that we could deprecate the comma operator if it helps tuples. So I started with this: http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP19 Unfortunately, I start

Re: References in D

2012-10-05 Thread Michael
On Saturday, 15 September 2012 at 12:38:53 UTC, Henning Pohl wrote: The way D is dealing with classes reminds me of pointers because you can null them. C++'s references cannot (of course you can do some nasty casting). So you can be sure to have a valid well-defined object. But then there is al

Re: dynamic library building and loading

2012-09-26 Thread Michael
Loading Shared lib isn't big issues here. The bigger one is building Shared library (written in D) and running it in host application without issues (EH, shared GC etc). Andrei, if you find out how to make those things work, please share your findings. I'm also in need of using shared librar

Re: dynamic library building and loading

2012-09-26 Thread Michael
Thanks. The loading part is very useful, but I'm still lost when it comes to build the shared library itself. Andrei Program loads dll at runtime using loader which is configured to load concrete dll file(s). Like in gtkD http://www.dsource.org/projects/gtkd/browser/trunk/src/gtkc/Loader.d

Re: Is flags enum needed in Phobos?

2012-09-26 Thread Michael
On Tuesday, 25 September 2012 at 17:13:44 UTC, Denis Shelomovskij wrote: .NET has FlagsAttribute, Java has EnumSet. Looks like we need this too. How about to add a library solution to Phobos? +1. Also I'm not sure: * Should we support converting from a number to a flag enum? +1. * If so,

<    1   2   3   4   >