Re: OSCON 2012 notes

2012-07-27 Thread Nick Sabalausky
On Sat, 21 Jul 2012 23:11:02 +0200 "Adam D. Ruppe" wrote: > On Saturday, 21 July 2012 at 20:17:11 UTC, Nick Sabalausky wrote: > > - Adam's HTML DOM (And I cached partial and full results in > > memory, of course, so I wasn't DOMming it up on every request) > > DOMing it up every request rox. Th

Re: OSCON 2012 notes

2012-07-23 Thread Jacob Carlborg
On 2012-07-23 13:21, Michel Fortin wrote: Abstraction layers for GUI are not inherently bad, but they also tend to blur platform specificities. This often results in apps that feel a little alien on every platform. So whether you should use them or not depends on your priorities. I think a sys

Re: OSCON 2012 notes

2012-07-23 Thread Michel Fortin
On 2012-07-23 05:04:39 +, Nick Sabalausky said: Personally I like abstraction layers for GUI: it means you don't have to deal with twenty different system-specific (and idiosyncratic) APIs. For example, I hope I never have to touch Win32 directly again. Win32 is a special case. It's old

Re: OSCON 2012 notes

2012-07-23 Thread Nick Sabalausky
On Mon, 23 Jul 2012 08:59:32 +0200 "Paulo Pinto" wrote: > >"Nick Sabalausky" wrote in message > >news:20120723010439.6efc@unknown... I wouldn't know. I haven't > >actually dealt with the android SDK directly, only Marm. When I saw > >google saying you use either Java or straight natively-com

Re: OSCON 2012 notes

2012-07-23 Thread Jacob Carlborg
On 2012-07-23 08:59, Paulo Pinto wrote: No, actually you are still dealing with JNI. Google's position on native code, is that you should use it just for code hotspots, gamming or to port "legacy" code. The Android native applications APIs are C wrappers around JNI calls, meaning you get a p

Re: OSCON 2012 notes

2012-07-23 Thread Jacob Carlborg
On 2012-07-21 21:59, Alex Rønne Petersen wrote: On 21-07-2012 21:51, Nick Sabalausky wrote: Yes. But there's an even bigger reason for ARM: Mobile devices, like iOS and Android. I'm not personally a fan of them, but nonetheless those things are HUGE (no pun intended). And yet the ONLY real lan

Re: OSCON 2012 notes

2012-07-23 Thread Paulo Pinto
"Nick Sabalausky" wrote in message news:20120723010439.6efc@unknown... I wouldn't know. I haven't actually dealt with the android SDK directly, only Marm. When I saw google saying you use either Java or straight natively-compiled C++, I guess I assumed that meant an actual C++ API. No, actu

Re: OSCON 2012 notes

2012-07-22 Thread Nick Sabalausky
On Sun, 22 Jul 2012 17:58:20 -0400 Michel Fortin wrote: > > Marmalade, from what I see, is some sort of meta-platform you can use > to write something that works everywhere. It adds a new layer of > abstraction that can work on top of each platform. Good for them and > their developers, but I

Re: OSCON 2012 notes

2012-07-22 Thread Michel Fortin
On 2012-07-22 19:05:45 +, Nick Sabalausky said: On Sun, 22 Jul 2012 08:19:12 -0400 Michel Fortin wrote: On 2012-07-21 19:51:37 +, Nick Sabalausky said: On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: And also, more and more it'd require ARM support to be competitive in

Re: OSCON 2012 notes

2012-07-22 Thread Paulo Pinto
Am 22.07.2012 20:46, schrieb Nick Sabalausky: On Sun, 22 Jul 2012 18:14:23 +0200 Paulo Pinto wrote: y :=&x[0] fmt.Println("Base adress ", y) size := unsafe.Sizeof(x[0]) fmt.Println("Size per element ", size) for i := 0; i< len(x); i++ { c

Re: OSCON 2012 notes

2012-07-22 Thread Nick Sabalausky
On Sun, 22 Jul 2012 08:19:12 -0400 Michel Fortin wrote: > On 2012-07-21 19:51:37 +, Nick Sabalausky > said: > > > On Sat, 21 Jul 2012 09:47:06 -0400 > > Michel Fortin wrote: > >> > >> And also, more and more it'd require ARM support to be competitive > >> in the GUI area. > > > > Yes. B

Re: OSCON 2012 notes

2012-07-22 Thread Nick Sabalausky
On Sun, 22 Jul 2012 18:14:23 +0200 Paulo Pinto wrote: > y := &x[0] > fmt.Println("Base adress ", y) > size := unsafe.Sizeof(x[0]) > fmt.Println("Size per element ", size) > for i := 0; i < len(x); i++ { > cell := uint64(uintptr(unsafe.Pointer(y))) + > (u

Re: OSCON 2012 notes

2012-07-22 Thread Caligo
Just curious, do you know if Alexander Stepanov uses D or not?

Re: OSCON 2012 notes

2012-07-22 Thread Paulo Pinto
Am 22.07.2012 14:19, schrieb Michel Fortin: On 2012-07-21 19:51:37 +, Nick Sabalausky said: On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: And also, more and more it'd require ARM support to be competitive in the GUI area. Yes. But there's an even bigger reason for ARM: Mobil

Re: OSCON 2012 notes

2012-07-22 Thread Paulo Pinto
Am 22.07.2012 10:42, schrieb Nick Sabalausky: On Sun, 22 Jul 2012 01:24 -0700 Jonathan M Davis wrote: On Sunday, July 22, 2012 10:10:43 Paulo Pinto wrote: Am 22.07.2012 01:13, schrieb Nick Sabalausky: On Sat, 21 Jul 2012 14:41:05 +0200 Paulo Pinto wrote: Regarding systems programming, Go

Re: OSCON 2012 notes

2012-07-22 Thread Michel Fortin
On 2012-07-21 19:51:37 +, Nick Sabalausky said: On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: And also, more and more it'd require ARM support to be competitive in the GUI area. Yes. But there's an even bigger reason for ARM: Mobile devices, like iOS and Android. I'm not per

Re: OSCON 2012 notes

2012-07-22 Thread Nick Sabalausky
On Sun, 22 Jul 2012 01:24 -0700 Jonathan M Davis wrote: > On Sunday, July 22, 2012 10:10:43 Paulo Pinto wrote: > > Am 22.07.2012 01:13, schrieb Nick Sabalausky: > > > On Sat, 21 Jul 2012 14:41:05 +0200 > > > > > > Paulo Pinto wrote: > > >> Regarding systems programming, Go could actually play i

Re: OSCON 2012 notes

2012-07-22 Thread Jonathan M Davis
On Sunday, July 22, 2012 10:10:43 Paulo Pinto wrote: > Am 22.07.2012 01:13, schrieb Nick Sabalausky: > > On Sat, 21 Jul 2012 14:41:05 +0200 > > > > Paulo Pinto wrote: > >> Regarding systems programming, Go could actually play in the same > >> league as D > > > > [...] > > > >> The trick with Ob

Re: OSCON 2012 notes

2012-07-22 Thread Paulo Pinto
Am 22.07.2012 01:13, schrieb Nick Sabalausky: On Sat, 21 Jul 2012 14:41:05 +0200 Paulo Pinto wrote: Regarding systems programming, Go could actually play in the same league as D [...] The trick with Oberon, which Go also uses, is to have a special module reckognised by the compiler with prim

Re: OSCON 2012 notes

2012-07-21 Thread nazriel
On Saturday, 21 July 2012 at 05:14:57 UTC, Andrei Alexandrescu wrote: I'm back from OSCON 2012, where my talk has enjoyed a somewhat unexpected good reception (OSCON is not the most down-D's-alley audience). The talk abstract is at http://www.oscon.com/oscon2012/public/schedule/detail/23888 a

Re: OSCON 2012 notes

2012-07-21 Thread nazriel
On Saturday, 21 July 2012 at 14:08:48 UTC, Adam D. Ruppe wrote: On Saturday, 21 July 2012 at 13:47:06 UTC, Michel Fortin wrote: The web is a low-hanging fruit for D. Yea, I've been eating that fruit for years. +1 Web development with D is quite easy and very enjoyable. With Adam's work it e

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 10:16 PM, Brad Anderson wrote: The Go people no longer refer to Go as a systems language. I believe they did intend for it to be a systems language in the same manner D is but over time they decided to focus less on that. Here's what Russ Cox said on that matter: "We removed the wor

Re: OSCON 2012 notes

2012-07-21 Thread Brad Anderson
On Sat, Jul 21, 2012 at 5:38 PM, Jonathan M Davis wrote: > On Saturday, July 21, 2012 19:13:20 Nick Sabalausky wrote: > > On Sat, 21 Jul 2012 14:41:05 +0200 > > > > Paulo Pinto wrote: > > > Regarding systems programming, Go could actually play in the same > > > league as D > > > > [...] > > > > >

Re: OSCON 2012 notes

2012-07-21 Thread Jonathan M Davis
On Saturday, July 21, 2012 19:13:20 Nick Sabalausky wrote: > On Sat, 21 Jul 2012 14:41:05 +0200 > > Paulo Pinto wrote: > > Regarding systems programming, Go could actually play in the same > > league as D > > [...] > > > The trick with Oberon, which Go also uses, is to have a special module > >

Re: OSCON 2012 notes

2012-07-21 Thread Nick Sabalausky
On Sat, 21 Jul 2012 14:41:05 +0200 Paulo Pinto wrote: > > Regarding systems programming, Go could actually play in the same > league as D [...] > The trick with Oberon, which Go also uses, is to have a special module > reckognised by the compiler with primitives to do the low tricks C > offers.

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 4:17 PM, Nick Sabalausky wrote: What do you mean by "make it easy to assemble Vladimir's and Adam's web libraries from preexisting parts"? I mean putting much of their work in std, such that people can write their own Web/NNTP/CGI/etc stuff with much less code than they had to write

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 4:17 PM, Nick Sabalausky wrote: Side note though: Seriously, no download with registration?!? WTF Crap. Didn't know, otherwise I might've chosen differently. Andrei

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 3:59 PM, Alex Rønne Petersen wrote: GDC is pretty far along as far as ARM support goes; I intend to have another run through it one of these days to look at any remaining issues. That's awesome. I got a feel at OSCON that a combination of big iron + ARM-based small devices is the mo

Re: OSCON 2012 notes

2012-07-21 Thread Adam D. Ruppe
On Saturday, 21 July 2012 at 16:45:20 UTC, Andrei Alexandrescu wrote: Would you agree if someone took your code, modified it for the purposes of passing it through the forks of the review process, and pushed it into Phobos? Yes, no problem at all. You'd still receive credit, of course, but it

Re: OSCON 2012 notes

2012-07-21 Thread Adam D. Ruppe
On Saturday, 21 July 2012 at 20:17:11 UTC, Nick Sabalausky wrote: - Adam's HTML DOM (And I cached partial and full results in memory, of course, so I wasn't DOMming it up on every request) DOMing it up every request rox. That's what I do and so far the impact of those have been negligible in th

Re: OSCON 2012 notes

2012-07-21 Thread Alex Rønne Petersen
On 21-07-2012 22:26, Nick Sabalausky wrote: On Sat, 21 Jul 2012 21:59:12 +0200 Alex Rønne Petersen wrote: On 21-07-2012 21:51, Nick Sabalausky wrote: On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: And also, more and more it'd require ARM support to be competitive in the GUI area.

Re: OSCON 2012 notes

2012-07-21 Thread Nick Sabalausky
On Sat, 21 Jul 2012 16:17:00 -0400 Nick Sabalausky wrote: > On Sat, 21 Jul 2012 01:14:57 -0400 > Andrei Alexandrescu wrote: > > > I'm back from OSCON 2012, where my talk has enjoyed a somewhat > > unexpected good reception (OSCON is not the most down-D's-alley > > audience). > > > > The talk

Re: OSCON 2012 notes

2012-07-21 Thread Nick Sabalausky
On Sat, 21 Jul 2012 21:59:12 +0200 Alex Rønne Petersen wrote: > On 21-07-2012 21:51, Nick Sabalausky wrote: > > On Sat, 21 Jul 2012 09:47:06 -0400 > > Michel Fortin wrote: > >> > >> And also, more and more it'd require ARM support to be competitive > >> in the GUI area. > >> > > > > Yes. But the

Re: OSCON 2012 notes

2012-07-21 Thread Nick Sabalausky
On Sat, 21 Jul 2012 01:14:57 -0400 Andrei Alexandrescu wrote: > I'm back from OSCON 2012, where my talk has enjoyed a somewhat > unexpected good reception (OSCON is not the most down-D's-alley > audience). > > The talk abstract is at > http://www.oscon.com/oscon2012/public/schedule/detail/2388

Re: OSCON 2012 notes

2012-07-21 Thread Alex Rønne Petersen
On 21-07-2012 21:51, Nick Sabalausky wrote: On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: And also, more and more it'd require ARM support to be competitive in the GUI area. Yes. But there's an even bigger reason for ARM: Mobile devices, like iOS and Android. I'm not personally a

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 1:14 AM, Andrei Alexandrescu wrote: I'm back from OSCON 2012, where my talk has enjoyed a somewhat unexpected good reception (OSCON is not the most down-D's-alley audience). The talk abstract is at http://www.oscon.com/oscon2012/public/schedule/detail/23888 and the slides are at http:

Re: OSCON 2012 notes

2012-07-21 Thread Nick Sabalausky
On Sat, 21 Jul 2012 09:47:06 -0400 Michel Fortin wrote: > > And also, more and more it'd require ARM support to be competitive in > the GUI area. > Yes. But there's an even bigger reason for ARM: Mobile devices, like iOS and Android. I'm not personally a fan of them, but nonetheless those thin

Re: OSCON 2012 notes

2012-07-21 Thread Andrei Alexandrescu
On 7/21/12 10:08 AM, Adam D. Ruppe wrote: On Saturday, 21 July 2012 at 13:47:06 UTC, Michel Fortin wrote: The web is a low-hanging fruit for D. Yea, I've been eating that fruit for years. While my libs are out there, I haven't gotten around to doing the rest of the documentation or anything.

Re: OSCON 2012 notes

2012-07-21 Thread Adam D. Ruppe
On Saturday, 21 July 2012 at 13:47:06 UTC, Michel Fortin wrote: The web is a low-hanging fruit for D. Yea, I've been eating that fruit for years. While my libs are out there, I haven't gotten around to doing the rest of the documentation or anything. My libraries are just a means to an end to

Re: OSCON 2012 notes

2012-07-21 Thread Michel Fortin
On 2012-07-21 06:48:57 +, Paulo Pinto said: We need something like std.database for web development, which as far as I know is currently on hold. WinRT support would also be a nice feature. Need to spend some time checking how to work with type libraries. The web is a low-hanging fruit

Re: OSCON 2012 notes

2012-07-21 Thread Paulo Pinto
Am 21.07.2012 10:20, schrieb Jonathan M Davis: On Saturday, July 21, 2012 08:48:57 Paulo Pinto wrote: After becoming disapointed with Go leaving in the past, I've come to the conclusion that between the two, D is a much better choice. I still need to study up on Go one of these days (along wit

Re: OSCON 2012 notes

2012-07-21 Thread Jonathan M Davis
On Saturday, July 21, 2012 08:48:57 Paulo Pinto wrote: > After becoming disapointed with Go leaving in the past, I've come to the > conclusion that between the two, D is a much better choice. I still need to study up on Go one of these days (along with a variety of other languages which are on my

Re: OSCON 2012 notes

2012-07-20 Thread Paulo Pinto
Am 21.07.2012 07:14, schrieb Andrei Alexandrescu: I'm back from OSCON 2012, where my talk has enjoyed a somewhat unexpected good reception (OSCON is not the most down-D's-alley audience). The talk abstract is at http://www.oscon.com/oscon2012/public/schedule/detail/23888 and the slides are at ht

OSCON 2012 notes

2012-07-20 Thread Andrei Alexandrescu
I'm back from OSCON 2012, where my talk has enjoyed a somewhat unexpected good reception (OSCON is not the most down-D's-alley audience). The talk abstract is at http://www.oscon.com/oscon2012/public/schedule/detail/23888 and the slides are at http://www.slideshare.net/andreialexandrescu1/gen