Does the compiler check for safe?

2015-06-28 Thread Charles Hixson via Digitalmars-d-announce
I took some code that was annotated safe, and modified it to use a buffer internal to the class, and an offset counter. Some of the routines adjusted the counter. I forgot to remove the safe annotation. It compiled without error. So... 1) The compiler didn't check for safety 2) It counts

Does the compiler check for safe?

2015-05-05 Thread Charles Hixson via Digitalmars-d-announce
I took some code that was annotated safe, and modified it to use a buffer internal to the class, and an offset counter. Some of the routines adjusted the counter. I forgot to remove the safe annotation. It compiled without error. So... 1) The compiler didn't check for safety 2) It counts

Re: Does the compiler check for safe?

2015-05-05 Thread Charles Hixson via Digitalmars-d-announce
It was in announce because I made a mistake in posting.

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-12 Thread Charles Hixson
On 06/11/2013 08:59 PM, Steven Schveighoffer wrote: On Tue, 11 Jun 2013 23:36:11 -0400, Jesse Phillips jesse.k.phillip...@gmail.com wrote: On Tuesday, 11 June 2013 at 21:55:48 UTC, Adam D. Ruppe wrote: ...and if you sell it, unless you own multiple houses, you're now homeless. And housing

Re: OT: Speed reading

2012-08-31 Thread Charles Hixson
On 08/30/2012 06:09 PM, Nick Sabalausky wrote: On Fri, 31 Aug 2012 03:04:58 +0200 bearophilebearophileh...@lycos.com wrote: Walter Bright: Speed reading works fine when reading a bestseller novel. It's a complete failure at reading intellectually dense material. But if the novel you have

Re: D2 port of Tango

2011-11-05 Thread Charles Hixson
On 11/05/2011 10:56 AM, Dejan Lekic wrote: On Sat, 05 Nov 2011 14:50:09 +, zsxxsz wrote: I don't like Phobos design, which takes all libs in the same path looking so urgly, but tango seperate libs in different path according to its function using, so I like tango's design. You will

Re: D2 port of Tango

2011-10-21 Thread Charles Hixson
On 10/20/2011 10:00 PM, Kagamin wrote: Jacob Carlborg Wrote: Even if one would use Phobos, Tango still have things to offer over Phobos. For example, support for OpenSSL, cryptographic, a net library that doesn't depend on external libraries and a better XML library. Hmm... does Phobos offer

Re: D2 port of Tango

2011-10-18 Thread Charles Hixson
On 10/18/2011 09:15 AM, SiegeLord wrote: Caligo Wrote: Why? What's the point? Why not work on Phobos instead? Aside from the obvious philosophical differences, which I am NOT going to get into, porting D1 projects is an important reason. -SiegeLord While I can see the desirability of

Re: TDPL is an Amazon Kindle bestseller

2011-06-19 Thread Charles Hixson
Considering that Amazon has the proven capability of removing a book from your Kindle after you've bought it, I don't expect that I'll EVER decide to invest in a Kindle. Some other e-book reader is a possibility. The Nook has certain interesting features, and there's one that would be a good

Re: Learning With D

2011-05-23 Thread Charles Hixson
On 05/22/2011 04:36 PM, Daniel Gibson wrote: Am 23.05.2011 01:29, schrieb Ali Çehreli: On 05/21/2011 11:12 PM, Jesse Phillips wrote: I started writing what I hoped would turn into a fairly complete book. Thank you for doing this! :) This book is intended to teach programming from the

Re: SQLite 3.6.23.1 wrapper + connector

2010-07-20 Thread Charles Hixson
On 07/18/2010 03:57 PM, dsimcha wrote: == Quote from awishformore (awishform...@gmail.com)'s article Hello there. I've converted the .h file of the latest SQLite version to .d and I thought I'd let the world know (as suggested on IRC ;). Maybe it will save someone some work. ... for me. Don't

Re: D web site facelift : repost

2010-07-04 Thread Charles Hixson
Well, the last try didn't work. Trying this post again. On 07/02/2010 06:16 PM, Adam Ruppe wrote: On 7/2/10, Walter Brightnewshou...@digitalmars.com wrote: What browser are you using? In IE it renders well, and I'm picky about that sort of thing. I tried both Konqueror and Firefox and

Re: D web site facelift

2010-07-04 Thread Charles Hixson
On 07/03/2010 01:51 PM, Walter Bright wrote: Nick Sabalausky wrote: Walter Bright newshou...@digitalmars.com wrote in message news:i0nula$bk...@digitalmars.com... Nick Sabalausky wrote: I didn't see any of the glitchiness or google-translate stuff that other people saw (on IE7, FF2, or Iron).

Re: D rpm packages for Linux

2010-06-25 Thread Charles Hixson
On 06/24/2010 11:51 PM, Lars T. Kyllingstad wrote: On Thu, 24 Jun 2010 21:26:09 -0500, Ellery Newcomer wrote: On 06/24/2010 08:40 PM, Andrei Alexandrescu wrote: On 06/24/2010 03:44 PM, Ellery Newcomer wrote: On 06/24/2010 12:09 PM, Walter Bright wrote: D rpm packages now available

Re: dmd 1.061 and 2.046 release

2010-05-16 Thread Charles Hixson
On 05/15/2010 02:00 AM, Walter Bright wrote: Don wrote: Walter Bright wrote: Leandro Lucarella wrote: I saw the patches, and having all hardcoded in the compiler doesn't seems like a good idea =/ I know the hardcoding is probably not the best, but I wanted to try it out to see if it was a

Re: dmd 1.061 and 2.046 release

2010-05-16 Thread Charles Hixson
On 05/15/2010 06:13 PM, BCS wrote: Hello Adam, On 5/15/10, Bernard Helyer b.hel...@gmail.com wrote: Set executable bit, modify PATH Meh, you don't have to do that. On my box, I have a wrapper script in /usr/bin so the dmd command works from anywhere, but you can just as well run it right

Re: Can we all please stop overreacting?

2010-05-05 Thread Charles Hixson
On 05/03/2010 11:51 PM, Gurney Halleck wrote: == Quote from Sean Kelly (s...@invisibleduck.org)'s article Donnos...@nospam.com wrote: Nick Sabalausky wrote: another lurkerlur...@lurk.urk wrote in message news:hrfcfi$1ea...@digitalmars.com... == Quote from Don (nos...@nospam.com)'s article

Re: New little features in Descent

2009-08-26 Thread Charles Hixson
Ary Borenszweig wrote: Qian Xu wrote: Hi Ary, well done. Here is a small bug report about the code fomatter: = import tango.io.Stdout; import tango.core.Exception; void main(char[][] args) { try { /* Do some stuff */ } catch (IOException

Re: New little features in Descent

2009-08-26 Thread Charles Hixson
Ary Borenszweig wrote: Charles Hixson wrote: Ary Borenszweig wrote: Qian Xu wrote: Hi Ary, well done. Here is a small bug report about the code fomatter: = import tango.io.Stdout; import tango.core.Exception; void main(char[][] args) { try

Maybe it's been fixed

2009-08-26 Thread Charles Hixson
I was just going over the code for my current project, and I noticed that I'd included an enum in it, which wasn't causing any problems. So maybe it's been fixed. (Also, maybe it's only if you say the compiler is D2.x.) Charles Hixson wrote: Ary Borenszweig wrote: Charles Hixson wrote

Re: C++0x Concepts - Dead?

2009-07-18 Thread Charles Hixson
Walter Bright wrote: aarti_pl wrote: Walter Bright pisze: aarti_pl wrote: My proposal would make meta programing in D much more intuitive (because of using rules - not bunch of corner cases as it is today). Unfortunately almost no one from NG commented on that... Thank you, but I don't see

Re: dmd 1.046 and 2.031 releases

2009-07-08 Thread Charles Hixson
Walter Bright wrote: grauzone wrote: I oriented this on the syntax of array slices. Which work that way. Not inconsistent at all. It's also consistent with foreach(_; x..y). It would look consistent, but it would behave very differently. x..y for foreach and slices is exclusive of the y,

Re: dmd 1.046 and 2.031 releases

2009-07-08 Thread Charles Hixson
Jérôme M. Berger wrote: Andrei Alexandrescu wrote: Jérôme M. Berger wrote: Andrei Alexandrescu wrote: Jérôme M. Berger wrote: Andrei Alexandrescu wrote: Jérôme M. Berger wrote: Andrei Alexandrescu wrote: Derek Parnell wrote: It seems that D would benefit from having a standard syntax

Re: dmd 1.046 and 2.031 releases

2009-07-08 Thread Charles Hixson
Andrei Alexandrescu wrote: Robert Jacques wrote: On Tue, 07 Jul 2009 03:33:24 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Robert Jacques wrote: That's really cool. But I don't think that's actually happening (Or are these the bugs you're talking about?): byte x,y;

Re: OT: Flash and Javascript (Was: Taunting)

2009-05-23 Thread Charles Hixson
Ary Borenszweig wrote: BCS escribió: Hello Nick, what they can do is additionally provide a non-youtube/flash version. Which should be really [censored] easy since they had to have already had one in order to upload it to craptube in the first place. If they can, yes, but they might not

Re: dmd 2.029 release

2009-04-23 Thread Charles Hixson
Georg Wrede wrote: Don wrote: Georg Wrede wrote: Don wrote: Georg Wrede wrote: Walter Bright wrote: Lutger wrote: what the hell...this code can't be human. I was replaced by Colossus years ago. Michael A. Jackson wouldn't approve 1175 gotos in 113 files. It'd be really funny to pass

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Charles Hixson
bearophile wrote: davidl: why not make opDot some compile time stuff? You mean run time. this can be particular useful for COM And GUIs, I guess. It smells of Object-C++, but the syntax is nicer. But such runtime code must be not included into the executable if this feature is nowhere

Re: Open source dmd on Reddit!

2009-03-07 Thread Charles Hixson
Walter Bright wrote: Nick Sabalausky wrote: Provided that they aren't as crappy as the ones in C, bitfields can be immensely useful for anything really low-level, like embedded systems, drivers, firmware, or packed data formats for network or file I/O (ie, systems programming stuff). Anything