<<12-12-2012>>

00:54:19*calmar quit (Quit: Lost terminal)
02:37:27*XAMPP quit (Read error: Connection reset by peer)
05:06:07*XAMPP joined #nimrod
05:06:08*XAMPP quit (Changing host)
05:06:08*XAMPP joined #nimrod
07:22:39*FreeArtMan quit (Ping timeout: 260 seconds)
07:35:35*FreeArtMan joined #nimrod
09:59:09*gour joined #nimrod
09:59:29gourhuh..large crowd here
10:00:52Araqwelcome gour :-)
10:01:09Araqit's much more active in the evenings ... ;-)
10:01:41Araqso you can wrap agar with c2nim quite easily I think
10:05:31gourhmm...i'm the one who abandoned idea to use D for our multi-platform desktop app considering it's not stable...even as language, what to speak about standard lib and other stuff like GUI bindings, database stuff etc. and decided to use Ada (atm busy with changing PHP CMS-es and other web-related stuff) considering it's stable & mature platform. now, being offered (via pm) to use nimrod, i really wonder what
10:05:34gourit would give me in comparison to Ada and is it better/weaker offering than to use D?
10:07:48Araqin comparison to Ada: lack of header files for a start ;-)
10:09:11gouri thought that Ada's separation into headers/body is good thing, no?
10:09:28Araqif you like baby sitting the compiler, perhaps
10:09:55Araqotherwise it's just tedious
10:10:30AraqI you want to read only the interface of a module, run the documentation generator over it
10:11:42gourotoh, D folks are proud using imports instead of fiddling with includes which boosts compilatation speed
10:13:17gourby looking at tut1, i resemble some Pascal stuff i used many years ago
10:13:49Araqwell yeah pascal's influence is undeniable
10:14:07Araqsemantically it's much closer to modula 3
10:14:17Araqbut I don't think anybody knows that :P
10:14:24gourhe he
10:14:45Araqand afaict Nimrod is much more stable than D
10:14:54Araqbut also fewer people use it, so it's hard to say
10:15:09gouras a language or compiler?
10:15:20AraqI'm talking about the implementation
10:15:45gourok
10:15:54Araqthe language definition is much more stable
10:16:10Araqit takes a while to implement all of the spec, though
10:16:23gourwhat about stability of the language? D breaks code in e.g. 2.0.60 --> 2.0.61, so it's almost useless for real work
10:16:56Araq0.9.2 will not break much code in comparison to 0.9.0
10:17:06Araq0.9.0 broke lots of code
10:17:13gourD breaks spec, TDPL is either not implemented fully or obsolete in some areas...it really looks as toy language
10:17:33Araqand 0.9.4 will do so again, but we'll say how far we can mitigate the pain
10:18:07gourok, lack of headers is one aspect of nimrod vs ada...any other (strong) 'selling points' ?
10:18:50Araqlol that's only one small point
10:20:09Araqthe list of selling points is long, but often people who like Ada are scared by the feature list, so
10:20:45AraqI'm always having a hard time how to sell it :D
10:21:49Araqfor instance, Nimrod has a GC, Ada does not
10:22:42gourGC is nice...i'd like to avoid taking too much care about my memory in 21st century
10:23:26gouri cannot say "i like Ada"...didn't have much time to dive into it...but consider it's the best of mature/stable static-compiled languages
10:23:48gouri gave up idea to use python and then fiddle with cython preferring strong typing
10:24:36gourotoh, tried haskell in the past, but was a bit too weird both for me (cannot say i grok monads) and few potential contributors for our project fled away in fear :-)
10:24:50gourD is interesting, but neither stable nor mature
10:25:03gouri want to avoid, at any cost, touching C++
10:25:07gourwhat is left?
10:25:25goursome JVM languages and i do not even use any java-stuff
10:25:42gourGo is...well...and Rust is also not very inspiring
10:25:57gourOCaml syntax would need some love, imho...
10:26:16gourso, from plethora of langs, not many pass (my) criteria
10:26:21gourdid i forget some?
10:29:18Araqprobably
10:29:36Araqbut indeed Nimrod sounds quite good for you then :-)
10:29:52Araqthe syntax is also Python inspired ;-)
10:30:09*gour is curious about 'forgotten languages'
10:30:34gournothing against python's syntax, whitespace etc...just about its dynamic nature
10:30:50Araqyou forgot: modula 2, modula 3, delphi/object pascal
10:31:00Araqerlang
10:31:07AraqML
10:31:20Araqobjective C
10:31:23Araqetc.
10:33:31gourerlang is too network-oriented and actually designed, not so much general-purpose language
10:33:43gouris ML still alive & freely available?
10:34:03Araqdunno about the 'alive'
10:34:03gourobjective-C is for the company whose products we don't buy :-)
10:34:31Araqthere are a couple of free ML implementations around
10:34:48Araqthere is also 'racket' (aka scheme) and Lisp
10:34:57Araqbut use Nimrod, it's better :P
10:35:07gouranyway, after having trying haskell, ML does not make much sense to me today
10:36:53Araqin fact, ML is much closer to Ocaml
10:36:55gourthose are using a lot some strange symbols which are ok when used moderately
10:39:48gouranyway, main point is Ada vs nimrod...some 'selling point' for someone not so strongly (yet) in love with the former
10:40:13*XAMPP quit (Read error: Connection reset by peer)
10:40:37*XAMPP joined #nimrod
10:40:37*XAMPP quit (Changing host)
10:40:37*XAMPP joined #nimrod
10:40:47AraqNimrod is shorter, Nimrod has a GC, Nimrod has macros, Nimrod binds more easily to C
10:41:55AraqNimrod's stdlib is bigger afaict
10:43:26gourhow do macros any type-safety go together?
10:44:15*XAMPP quit (Read error: No buffer space available)
10:44:38Araqquite well
10:44:45*XAMPP joined #nimrod
10:45:00Araqmacros and a static type system are completely orthogonal
10:52:55Araqbrb
10:55:12*XAMPP quit (Read error: Connection reset by peer)
10:55:45*XAMPP joined #nimrod
10:55:45*XAMPP quit (Changing host)
10:55:45*XAMPP joined #nimrod
10:56:54*XAMPP quit (Read error: Connection reset by peer)
10:57:20*XAMPP joined #nimrod
10:57:20*XAMPP quit (Changing host)
10:57:20*XAMPP joined #nimrod
11:11:16*XAMPP quit (Ping timeout: 240 seconds)
11:11:57*XAMPP joined #nimrod
11:11:57*XAMPP quit (Changing host)
11:11:57*XAMPP joined #nimrod
11:32:15*zahary quit (Quit: Leaving.)
11:37:01Araqgour: the manual is often the better place to look for documentation; the tutorials are often too slim
11:40:10*gour is browsing general pages on the site
11:44:23gour"gone will be the distinction between expressions and statements." - sounds cool
12:01:20Araqit's already not that much of a problem; you can use 'case' and 'if' as expressions
12:43:36*FreeArtMan quit (Ping timeout: 240 seconds)
13:05:36*XAMPP quit (Read error: No buffer space available)
13:06:17*XAMPP joined #nimrod
13:17:57gournimrod doc is generated by nimrod itself?
13:25:16Araqgour: yes.
13:25:18Araqas is the entire website
13:25:55Araqand our forum
13:26:03Araqand our build farm
13:28:41Araqand our installation generator ...
13:30:08gourvery interesting...any option to generate pdf as well?
13:30:17Araqyep
13:30:28AraqI recently fixed bugs for that ;-)
13:31:21Araqso if you're using git head, do: nimrod rst2tex doc/manual.txt && pdflatex doc/manual.tex
13:41:06*gour quit (Disconnected by services)
13:41:13*gour_ joined #nimrod
13:57:45gour_Araq: so far, there are no ready packages for nimrod/aporia ?
14:13:02Araqgour_: there are
14:14:52gour_Araq: is there any magic taht this works: echo("Very funny, your name is name.") (tut1, if stmt)?
14:14:58*gour_ is now known as gour
14:15:06gourAraq: which distro you use?
14:16:15Araqlinux mint, but I wouldn't recommend it
14:16:22goursame for case stmt
14:16:32Araqwhat do you mean?
14:16:39Araq"any magic"?
14:16:45gourafter movign away from arch, i've tried both mint and lmde, but settled on debian (wheezy)
14:17:07gourhow it can discern between the twon 'name'
14:17:17goursame in case stmt example
14:18:35*XAMPP_ joined #nimrod
14:19:32Araqgour: 'var' or 'let' introduces the 'name' identifier
14:19:45Araqwhich is then used
14:19:47gourahh, now i got it...thought that the program does not check for name 'name' :-(
14:20:08Araqoh sorry
14:20:22Araqit's supposed to be a joke
14:20:24gourprinting the 'real' name is done in next case/clause
14:21:19*XAMPP quit (Ping timeout: 240 seconds)
14:21:24gournot sure if it was joke, but created a shot confusion here :-)
14:23:02gour*short
14:23:15gours/short/brief
14:26:35*q66 joined #nimrod
14:30:46goursite says: "Nimrod is a statically typed, imperative programming language..". wht about explicit OOP/FP features? missing by design?
14:32:34Araqbrb
14:35:03Araqgour: the site used to say that, but I decided to change the text
14:35:28AraqOOP/FP features are not special anymore and Nimrod doesn't really excel at those
14:36:58Araqthe idea is to give you the basics and then macros can be used to implement the fancy things
14:39:35gouri see
14:42:15*FreeArtMan joined #nimrod
14:43:12gour"The character type is named char in Nimrod. Its size is one byte." this will stay so?
14:44:20Araqyes, utf-8 is everywhere now
14:45:18gouryou mean it's in strings?, but char wil lstay 1 byte?
14:46:50Araqyeah, use the unicode module for better support
14:47:56Araqchar will stay 1 byte, because things like array[char, int] and set[char] are very useful
14:48:23Araqand don't work with 4 byte chars
14:50:28gour"For better interfacing to other programming languages, the symbols of enum types can be assigned an explicit ordinal value." isn't this too type-unsafe?
14:51:18Araqthe compiler disallows array[enumWithHoles, T], so no it's not
14:51:56Araqare you now in "questioning every sentence you read" mode? ;-)
14:52:26gourwel,, reading tut and asking if something comes...
14:52:43Araqenums are still strongly typed
14:52:49gouri also skipped a lot ;)
14:52:55Araqif myEnum != 34: # doesn't compile
14:53:05Araqthis is not D here ...
14:53:27gouri'd prefer not to allow explicit value...heh, what about haskell & Ada?
14:54:11AraqAda even goes further with its representation clauses ...
14:54:57AraqI want Nimrod to support the same one day
14:56:06Araqhaskell uses proper sum types, they are nice, but Nimrod's enum + case object combination is more flexible
14:58:15Araqand you still get the exhaustive checking in 'case' statements
15:00:32gourhow are openarrays 'declared' as parameters?
15:09:00Araqproc p(a: openarray[int]) ?
15:09:40gourok. now it's clear...upper range is just skipped
15:09:56gourshould i continue (after tut1) with tut2 or better go to manual?
15:12:14ZorAraq: what's the distinction between var and let?
15:12:39AraqZor: 'let' creates an SSA variable
15:12:58ZorI see
15:13:09Araqlike rust's 'let mu' vs. 'let'
15:13:26*Zor nods
15:13:35Araq'let mu' is called 'var'
15:13:44ZorI considered that same distinction for my lang. a while back but ultimately ended up going with let mut to save a keyword
15:14:17AraqIMO immutability is superficial in a systems programming language
15:14:35Araqrust is full of 'let mu', so another keyword is warranted
15:15:09Araqand nimrod's immutability is only shallow
15:16:00Araqin fact, once you take the "no heap sharing" route, immutability doesn't buy you anything for concurrency
15:16:21Zorno, but it does buy you clarity
15:16:40Araqthat's true
15:17:03Araqwe considered a D-like const system for Nimrod, but it gets complex and annoying very quickly
15:18:31Araqso instead I've implemented an effect system ;-)
15:18:53Araqwhich doesn't track write operations yet, however
15:19:41gourdo you have any eta for 1.0?
15:20:17Araqworst case: end of 2014
15:20:22gourok
15:20:24Araqbest case: end of 2013
15:21:00gourD wants, seemingly, to compete with C++...what is nimrod's (primarily) market or target audience?
15:24:33Araqgood question: I'd say game programming and scientific computing
15:25:00Araqbut given a choice, I don't use anything else anymore
15:25:19Araqit's pretty sweet for scripting too imo
15:25:27gourdogfooding ;)
15:26:25gouri'd say, based on brief reading, that it might be even better choice than D which is, often, get too complicated for no apparent reason
15:27:03gourotoh, i still feel we might be better to start wit hada today for desktop gui project
15:27:22Araqthat's sad
15:27:46gourdoes your gtk bindings hold some of the nimrod's type-safety over using plain C?
15:28:16*gour wonders how much in the language might change until 1.0
15:28:53Araqyes it does improve over C's broken type system
15:31:23gouri like nimrod's syntax, stuff brought from the python, but i'm not at all experienced with macros not used lispy languages ever, except i had short course on the university many years ago about prolog...but that's not lisp...and i believe to take advantage of nimrod and deploy some of the oop/fp features, one has to adjust one's mind to macro system
15:31:42Araqand the plan to 1.0 is in my todo.txt btw
15:32:38Araqand there are ready to use macros for better OOP support to be found on the forum
15:32:59gouri must congratulate 'cause it looks you know what are you doing...D's designers are simply adventurists
15:33:22gours/congratulate/ cong. you
15:33:37Araqand you can accomplish quite a lot without using nimrod's macros
15:33:45Araqin fact, I rarely use them
15:35:26gourmy primary concern was/is to have type-safe system...not using haskell & fp, ada & oop looks as the best option so far...i'm not into low-level programming, writing device drivers etc. but custom libs for desktop app falling close to scientifci computing althought many scientists despise (vedc) astrology as such
15:37:09AraqAda's OOP features are inferior to Nimrod's IMO
15:37:21Araqeven when you don't use Nimrod's macros
15:37:34gourwhat about type-safety?
15:37:49Araqcan't think how Ada is more type safe
15:37:57gourAraq: if having choice (for Nimrod), would you use GTK or wx for multi-platform project?
15:38:16AraqGTK
15:38:34Araqwe don't have any wx wrapper for now anyway; at least I'm not aware of such a thing
15:38:39gourdoesn't look strange on Mac? i do not own one to test, but many people complain about it
15:39:09gourand even GTmk team for windows are quite limited
15:39:12Araqwx's API is badly designed imo
15:40:15gourwell, API is not good, but it looks good/native :-)
15:40:23Araqbut for good cross platform UIs there is only Lazarus
15:40:35gourLazarus? that's pascal?
15:40:38Araqyes
15:40:46Araqnative UI on windows, mac os x and linux
15:40:50gourbtw, you have ' customers' in #ada
15:41:03gourthat's sama as wx, isn't it?
15:41:19gour*same
15:41:58Araqexcept that Lazarus comes with a UI builder
15:42:36Araqthere is an example how to use lazarus for the frontend and nimrod for the backend in nimrod's distribution
15:43:05gourthere are several wx builders as well
15:43:48Araqyeah, I tried them once, simply doesn't compare to delphi/lazarus
15:44:07gourhave you tried wxdesigner/dialogblocks?
15:44:18gourotoh, gui is not re-done so often
15:44:37gourand i'd prefer to stay with one language, not mixing e.g. nimrod/pascal
15:46:14Araqfair enough
15:46:46Araqbut I still think you will be happier with Nimrod than with Ada ;-)
15:47:00AraqI have a start of a wx wrapper lying around
15:47:12Araqbut somebody needs to finish and use it
16:07:46gourwx is big...that's one problem
16:09:30gouri must also say that i'm not to attached to oop...even more i like fp, but for my application was considering that even more procedural design might be ok considering we plan to use sqlite3 as application's format and simply use rdbms to avoid writing lot of custom code to handle data
16:11:35Araqgour: just use nimrod please
16:11:43dom96hello
16:11:46Araqyou won't regret I promise ;-)
16:11:52dom96ooh, new person. Hi gour.
16:12:15Araqbtw I did use Ada, I wrote ~20K of an RTS engine in it
16:12:17gourhiya dom96
16:12:28Araqand then rewrote it in Delphi ;-)
16:12:51gourAraq: ^ for me or for dom96
16:15:19Araqgour: for you
16:16:13gourAraq: Delphi? don't get it :-/
16:17:09AraqAda is nice in theory, but a pita in practice IMO
16:17:50Araqso I rewrote what I had in Delphi
16:18:03Araq(was years ago btw, way before nimrod's existance)
16:18:08gourwhat's bad in practice? there is decent free compiler, some IDE, lots of libs, bindings, literature (tutorials, books)...what is bad?
16:18:32dom96I'm just reading the log here...
16:18:32dom96<Araq> [10:17:06] 0.9.0 broke lots of code
16:19:08dom96I disagree. I mean, most of my projects needed little if at all fixes.
16:19:42gourAraq: how long did you use Ada and how much ahve you written in it?
16:19:42Araqyes but your code contains little integer arithmetic
16:20:27*Vladar joined #nimrod
16:20:32VladarHi
16:20:33Araqas I said, I wrote the RTS engine plus SDL and Lua wrappers
16:21:00Araqand the type sytem is overly restrictive when it comes to interfacing with C
16:21:12dom96ahh yes. I forgot about that change.
16:21:23Araqand the header/implemenation split is a PITA to work with
16:21:46Araqand the generics don't let you abstract over different pixel sizes
16:21:55gourAraq: are you familiar wit hahskell? i liked its type-sctrictness
16:21:55Araqetc. etc.
16:23:07Araqonly used it for some quick scripts and read a book about it
16:23:10gourabstraction over pixel sizes...that's pretty low-level :-)
16:23:18Araqyes
16:23:28gourwhich book, craft?
16:23:48AraqI ended up using a preprocessor to generate the code
16:24:03Araqwrote the preprocessor myself, of course
16:24:25Araqso Ada had generics, Delphi didn't and yet I had to use a preprocessor for both anyway
16:24:58Araqbook "real world haskell"
16:25:04Araqbut I have to go now, see you later
16:25:34gourbased on your description/experience, it seems lot of difference is in the estimated use cases where language is to be used
16:25:47gourahh, i asked about ada book...ok
16:28:35dom96hello Vladar
16:29:42Vladarhi, dom96
16:42:37gourwhat can you say about nimrod vs felix which targets c++?
16:47:43dom96gah, how come Felix gets a wikipedia page and we don't?
16:59:25gournimrod's one was, afaik, rm-ed
16:59:32dom96yep
16:59:42dom96Due to lack of references.
16:59:48dom96I don't get why Felix's wasn't then though
17:02:38*zahary joined #nimrod
17:05:36gouri complained to editors when they put mayan edms (django project) for removal
17:06:38gourit was actually rm-ed, but now it re-appeared
17:08:47gourdom96: did you also used ada before?
17:09:07dom96nah, only briefly. I have used Haskell though.
17:09:29gourand migrated to nimrod?
17:09:35dom96yep
17:10:17gourinteresting...iwas playing with haskell some years ago...nice language, syntax, but one has to read too many papers to get it :-)
17:11:09dom96indeed. I never got into the mindset of monads.
17:11:24dom96All my haskell projects do as much as they can to avoid them heh
17:12:53gouryeah, monads are maybe cure, but i want to be pragmatic...that's why i consider ada to avoid monads-mindset
17:13:06gour*cute
17:14:25gourwhat do you prefer in nimrod over ada?
17:15:12dom96I haven't used Ada in a while, so it's hard to recall.
17:15:33gourmaybe i'm wrong, but nimrod, somehow, feels to me more low-level than (ada) or what i'm looking for
17:15:42dom96But as far as I can remember the stdlib of Nimrod is definitely a lot more modern and nice than Ada's.
17:16:29gourhow is nimrod's parallelism/concurrency model, something designers of ada are proud of?
17:18:43gourotoh, spent too many time playing with haskell in the past and played recently with D, i consider Ada s stable/mature/robust language with assured support...another fear that fiddling with Nimrod might prove similar to haskell/D..moreover not so many core devs
17:19:51gouri simply do not have time building some language's ecosystem, but having time constraints wants to focus on writing app using the language
17:20:48dom96what kind of app are you writing?
17:21:25gourgeneral desktop app
17:21:31_ponce<Araq> [16:11:03] we considered a D-like const system for Nimrod, but it gets complex and annoying very quickly < thanks god
17:21:45_ponceD const system is really annoying for so little gain
17:21:54_poncebetter left out of the type system imho
17:22:14gourdom96: something like http://saravali.de/ but more extensive with some research capabilities
17:24:41_poncegour: why not C++ :) ?
17:24:43_poncefew bugs in compilers
17:24:43_poncelots of libraries
17:26:25_poncebut not very spiritual for astrology software :)
17:29:21gour_ponce: i did C++ 20yrs ago...now i believe i deserve something better :-)
17:29:41gour_ponce: last point is the answer ;)
17:31:24gour_ponce: i used zortech c++...in the meantime c++ evolved into huge & ugly beast
17:32:15_poncegour: i only find job in C++, in 2012 :(
17:32:43_ponceso much lost time
17:33:06gour_ponce: that+s fair...otoh, programming in not my bread'n'butter
17:33:25*gour ha typing problems
17:33:29gourlol
17:35:04*_ponce realizes C++ was once a smaller language
17:36:04gour_ponce: are you familiar with ada?
17:37:12_ponceI was taught Ada in college I guess
17:37:33gourdo you like it and/or some ada vs nimrod?
17:37:45_poncenot enough experience in any of those to tell
17:38:07gourin the school i was taught pascal & c...c++ was self-learning and i did my thesis in it
17:38:14_ponceas students we found Ada annoying, but it's probably very good
17:38:21gour:-)
17:38:34*gour forgot fortran :-)
17:38:39_poncethat said
17:39:00_poncefrom what I hear the aerospace world runs more and more on C and C++, and not so much on Ada
17:39:26_poncelooks like process ensure safety more than langages
17:39:40gourwell, lot of industry uses Java, but we don't care much
17:41:00_ponceI'd say it all depends the scopes of your project, even if D it's common to write a binding when doing an actual project
17:41:09_ponceeven in* D
17:41:16_poncewhat libraries you need etc
17:41:50_ponceand what your team is used to
17:43:47gourwell, it willbe open-source project and we have to put team together...some run away from fear of haskell in the past...i need gui bindings, sqlite and bindings for 3rd party C-lib (swiss ephemeris)...rest will be probably custom code
17:44:20*_ponce can't grok haskell either
17:44:20*gour considers D too unstable as language to invest serious time in it
17:45:36gourso, i want something stable and not too low-level, iow. GC for memory etc,
17:45:53_ponceand Java is out of question?
17:46:25gouryes...false promises of write-once-run everywhere...i was hearing about it since using os2
17:46:36gouralso not fan of jvm
17:47:36_poncelooks like the biggest dependency (and constraint) will be that GUI binding
17:47:55gourpossibly
17:48:28gourthat eliminated D 'cause gtk3 is one-man show and no other bindings alive...hakell is also not thrilling
17:49:08gour*gtkd
17:49:22gourpython is the best choice :-D
17:49:49_poncemight be
17:50:10gourbut we want static typing
17:50:39dom96Nimrod is exactly that. Only thing is, gtk bindings may not be the best.
17:50:51dom96But I created aporia with them.
17:52:34gourada's type-safety might be more strict?
17:52:40gourany problem with gtk bindings'
17:52:43gour?
17:54:06dom96they are slightly out of date, and they are basically just a wrapper of C so they are not always nice. For example closure support for GTK signals would be nice.
17:55:48gourno gtk3?
17:55:57dom96yeah, that too.
17:56:15dom96Wrappers are generally easy to create with c2nim
17:56:27dom96But creating proper bindings takes more effort obviously.
17:56:46goursure..taking advantage of higher-level lang's features
18:26:38Araqdom96: I looked for aporia's downloads for gour, but couldn't find them anymore
18:26:45Araqis it because of this? https://github.com/blog/1302-goodbye-uploads
18:26:49dom96Araq: yep
18:26:56dom96Just noticed that recently too.
18:27:11dom96You can still access them though: https://github.com/nimrod-code/Aporia/downloads
18:28:42Araqgithub is getting more and more annoying
18:29:16Araqthat was a nice feature they just removed
18:30:02Araqgour: you can't be serious about nimrod being more low level than Ada ...
18:30:16Araqtry to program a generic 'map' in Ada
19:07:43gourAraq: it's just a feeling, not scientific research...finally, it seems nimrod operates at the C-speed level
19:08:17gourin regard to Github, i prefer using fossil nowadays and will use it for our project
19:09:37AraqAda operates on C-speed level too btw
19:11:52gouri read it can be used for device drivers, but thought it's more higher-level
19:12:29AraqAda allows you to nail down the memory representation at the bit level
19:12:51Araqthat's in fact *more* low level than C
19:13:24Araqit's just that the language has been designed instead of hacked together
19:14:00Araqin practice, the tool chain may indeed make it harder to write device drivers in it than C
19:14:25gourthat's definetely more low-level
19:15:15gourAraq: what do you think about felix vs nimrod?
19:15:47gouri also see you're striving to improve nimrod's c++ linking capabilities, right?
19:15:58Araqnimrod seems to be much farther in development than felix
19:16:13gourhow long is nimrod developed?
19:17:03Araqand felix's GC looks pretty simple
19:17:36Araqugh, it's hard to say ... it's been in development since 8 years I guess
19:19:19gouryou're really persistent guy..probably one-man show msot of the time
19:19:43Araqindeed and I'm doing it all in my spare time ;-)
19:20:21Araqand I have a job and family too
19:20:30gourand corporate money funds stuff like rust/go :-(
19:20:42Araqthat's life
19:20:51*gour is going to bath their small daughter...in a minute...bbs
19:52:02gourwhen i was suggesting to my 'mentor' to use haskell, he was very sceptic 'cause most of the guys were talking about Java/C(++)...i even skipped the idea of D and not announced to use Ada which is mature & robust platform, nicely supported and used for critical-mission applications. now i wonder what kind of comments i'd become entitled to to mention possibility to use nimrod :-}
19:53:18Araqscrew your mentor, convince him with a working demo that kicks ass
19:53:45goursaying there are few devs, one language designer and (maybe) 200 users world-wide
19:54:04Araqchicken and egg
19:54:07gourthat's the only possibility
19:54:22Araqget a new mentor then
19:54:49gourhuh...maybe i can try to see what can c2nim accomplish and how fast i could provide bindings for 3rd party lib i need
19:55:19gourwell, he is not really mentor, but my teacher and he is one rare jewel in the field
19:55:49Araqwell what it is you're trying to build?
19:55:53gour...then i can work on some basic calculations and try to provide some simple console-demo at least
19:57:22gourprogram for vedic astrology - http://saravali.de/ is something similar, written in C++/wx, but our app should be more extensive in some areas (some features we'd skip like western astrology), but alos more research-oriented to ahve ability to work on larger database of charts
20:07:46Araqwtf, vedic astrology? what's that?
20:10:36gourhttp://en.wikipedia.org/wiki/Jyotish
20:14:14Araqmeh ... :P
20:15:03Araqbut you should write it in nimrod nevertheless ;-)
20:15:19Araqwe'll gladly help you wrap anything you need
20:17:09gourby using http://en.wikipedia.org/wiki/Prasna_Shastra it is possible to find out what is the future of nimrod? but i do not know the art..it's 'post-graduate' study
20:18:31gourwouldn't bring you bad reputation?
20:18:32gour:-)
20:19:12Araqperhaps ;-)
20:19:34gourthat, it's maybe better to ruin ada community :-)
20:20:14Araqyeah but an Agar wrapper would be nice
20:20:33Araqso please do that before you switch to Ada
20:21:40Araqis that going to be a commercial application btw?
20:22:11gourno, open-source
20:22:42gourwhat do you mean about Agar wrapper? make Agar wrapper for nimrod and use instead of gtk?
20:22:53Araqyeah
20:23:46gouri'm not sure Agar is better choice as GUI lib for our purpose...seems to be is more for drawing
20:24:22gourotoh, fiddling with writing a new wrapper for the langauge, would not be much different from what i was offered in D community :-)
20:24:33*gour simply does not have time for such tasks
20:30:03Araqugh Agar is huge ...
20:30:16Araqbetter stick to gtk then
20:32:30gour:-)
20:33:16gourwikipedia rm-ed their page as well.."As non-consumer software, this set of C++ graphical libraries is unlikely to receive general interest outside the field of C++ graphical programming."
20:33:30gouri believe they won't see my donation this year
20:35:20gourthere is no nimrod-related mailing list?
20:36:39fowlAraq: we could make a better gui than agar with sfml
20:38:55gourfowl: what is sfml?
20:39:36fowlgour: opengl-based graphics library
20:40:15gourahh...that's, again, more for drawing than general-purpose toolkit
20:53:59*gour is reading Nimrod-thread in d.lang from one year ago or so
21:05:03*gour is reading about nimrod's tools...quite impressive that nimrod is building complete ecoystem around the language
21:06:53gourany plan for niminst to support creating something suitable for mac os?
21:11:03Araqdunno, ask gradha when he's around
21:11:21Araqshould be too hard to make niminst produce a mac os X bundle
21:11:27Araq*shouldn't
21:12:04gourby looking at some source files @github, i must say that the code actually looks beautiful..something like pure haskell code without real-world improvements :-)
21:12:23gourcongrats Araq!!
21:12:30Araqthanks :-)
21:13:03gourwell, i cannot lose anything by trying to provide nimrod bindings for swiss ephemeris lib and see how it goes
21:13:29Araqit's a C lib, right?
21:13:35Araqc2nim can't parse c++ yet
21:14:19gourof course, for real usage i'd like to provide higher-level api with exceptions etc. instead of ancient checking of return value < 0 and filling char *errmsg :-)
21:14:24gouryes, C lib
21:15:14*Vladar quit (Quit: Leaving)
21:15:18gourhttp://www.astro.com/swisseph/swephinfo_e.htm?lang=e
21:15:28gouryour neighbours from swiss ;)
21:16:20goureverything bindable is collected in one header
21:17:36gour..swephexp.h...that's all
21:17:53gourbtw, how does llvm 'back-end' works with nimrod?
21:19:53Araqthere is no llvm backend
21:20:05Araqyou can use clang with nimrod though
21:20:20Araqan llvm backend has been started but abandoned
21:20:40gourone thing which is especially like in nimrod, based on what i've seen, is its 'simplicity' but not on the expense of power...ada seems to be quie big...similar is with D and its complexity
21:21:10gourwell, i menat ability to use llvm with clang to build executable
21:22:04Araqsomeone said, latest clang doesn't work due to clang bugs, I haven't checked that
21:22:37gourok, but that's something that it is expected to work, right?
21:22:46Araqright
21:22:54gourgood
21:23:01AraqVisual C++ works too
21:23:08Araqand so does Intel's compiler
21:23:17Araq(at least the last time I tested it)
21:23:36gourwhen reading nimrod-thread in D forums, there was one use Marco Leisse or so, being quite inspired by the language..is he still around?
21:23:45gour*user
21:24:00AraqI don't think so
21:24:13gourleft for D?
21:24:22Araqnever left D
21:24:35Araqor maybe he doesn't use either
21:24:42Araqwhy is that important?
21:26:22gournot at all...simple curiosity...he works on D...otoh, nimrod is certainly more according to my taste
21:27:17gourwho are core devs here?
21:27:32Araqzahary, dom96 and me
21:28:59gourcongrats to all!!!
21:29:35gourwhen will nimrod land in debian? any debian dev here?
21:30:40Araqit's on arch I think but the packagers did strange things
21:31:08Araqapparently they can't handle that it deliberately doesn't use autoconf + make
21:31:10*gour left arch ~two months ago
21:31:30gourohh, what is build system for nimrod?
21:32:02Araqit's called 'koch' and written in nimrod
21:32:15Araq('koch' is German for 'cook')
21:32:23gourit can build 3rd party C libs included?
21:32:37Araqno, you only need it for bootstrapping
21:33:08*gour was learning german for some years in primary school - "ich bin in die schulle gegangen!" so much remained :-)
21:33:22Araq3rd party C libs can be included via a pragma and then the compiler will build them for you
21:33:50gourwhat about building general nimrod projects?
21:34:25Araqit's built into the compiler
21:34:56gourwith support for building docs/manuals?
21:35:37Araqyes
21:36:00Araqnimrod doc --project myproject.nim # produces docs for every of your used modules
21:36:07gourmaybe it's better to stop asking questions 'cause i'm becoming more and more impressed
21:36:36Araqmaybe you should start using it ;-)
21:36:58gourD has bigger community, more help offered to core devs and they're far from being self-hosted, what to speak about other components of ecosystem
21:37:26Araqthe D people are very good at talking
21:37:47gouri'll try with bindings for that lib before doing anything with Ada...i promise
21:37:52Araqwhereas we build things :P
21:38:51gouryou hit the right nail now...only wxwidgets mailing list (which i followed subscribed to gmane) had more messages that D.lang, but they lost after some time :-D
21:39:26gourbtw, i recommend mailing list (subscribed to gmane) over web forums at any time ;)
21:40:24Araqbut the forum is sexy and written in nimrod ...
21:43:08gourso mail <---> forum gateway should be added
21:43:46Araqyeah, do that please
21:44:05gouri already sleep too less :-(
21:57:33*gour is building nimrod
21:58:03gourwhat's this 30s?
21:58:51Araqit took 30s on your machine
21:59:05Araqwhich likely means you compiled without -d:release
21:59:12goursh build.sh 28,82s user 1,29s system 96% cpu 31,159 total
21:59:19gouri did sh build.sh
21:59:47Araqalright, well that's the C compiler at work
22:00:00gourwell,i expected longer time
22:00:20Araqdo this: koch boot -d:release
22:01:23gourbut i need koch for that?
22:02:34gourhow to properly build it?
22:02:35Araqyeah, compile it: nimrod c koch
22:04:28gour./koch boot -d:release 52,01s user 1,96s system 447% cpu 12,056 total
22:04:44gourvery nice
22:05:13Araqfor last cycle of bootstrapping I get 2.7s here
22:05:34Araqdunno why you get 52s ...
22:07:57gouri built few gtk examples..they work
22:08:05gourare youn on 64bits?
22:09:13Araqyes
22:11:32gouri used 0.90 release, not trunk
22:12:04gour*0.9.0
22:13:49dom96gour: Are you using 'time' in bash?
22:14:12dom96I'm guessing Araq is talking about the time that the Nimrod compiler gives.
22:14:59gourdom96: yes, inzsh
22:15:47gourcompiler's line is: Hint: operation successful (55519 lines compiled; 1.596 sec total; 158.162MB) [SuccessX]
22:16:19Araq1.5sec total? o.O
22:16:41Araqand time says it took 52secs?
22:16:52gouryep
22:17:09dom96Does the time nimrod give also include the time it took gcc to do its work?
22:17:21Araqyes it does
22:17:25gourbut compiler line also included: executables are equal: SUCCESS!
22:17:40Araqbut gcc isn't invoked for the last cycle
22:17:47dom96damn, my CPU must be crap: Hint: operation successful (58906 lines compiled; 4.111 sec total; 168.172MB) [SuccessX]
22:18:00Araqyeah :P
22:18:15gourHint: operation successful (55519 lines compiled; 10.405 sec total; 158.162MB) [SuccessX]
22:18:15dom96but then again, more lines compiled. hrm.
22:18:18gouriteration: 2
22:18:34dom96Hint: operation successful (58906 lines compiled; 42.561 sec total; 168.172MB) [SuccessX]
22:18:53Araqwell 'time' times the whole bootstrapping obviously
22:18:53dom96That's before "iteration: 2" for me.
22:19:04dom96indeed
22:19:11gourIntel(R) Core(TM) i7 CPU 860 @ 2.80GHz here
22:19:26Araqah the i7
22:19:29Araqthat explains it
22:19:31dom96yeah, no way my poor Phenom has a chance.
22:20:24gourstill, i bet you don't have time for coffee (which is good) while waiting compile to finish :-)
22:21:19gourexcellent work, devs
22:24:06Araqthanks ;-)
22:26:25*gradha joined #nimrod
22:27:10Araqhi gradha
22:27:19gradhahi
22:28:46Araqgour wants to use niminst to build mac ox X bundles
22:29:03Araqand I bet you know what it takes to do that
22:29:17gradhasure, what is niminst?
22:29:30Araqnimrod's installation generator
22:29:55gradhawell, mac bundles defeat the purpose of installators
22:30:01Araqhttp://nimrod-code.org/niminst.html
22:30:08gradhathe idea is everything is contained inside the bundle, so no installator is required
22:30:13AraqI know
22:30:28Araqbut niminst could grow support to build a bundle
22:30:36Araqjust like it can produce a windows installer
22:30:37gradhaabout 80% of software pre mac store simply used a DMG with a special background and hyperlink to /Applications, the user drags it and installed
22:30:40dom96it can currently already build a debian package
22:30:57gradhasounds a good idea
22:31:36*gour is more interested for debian package since using debian, but thinking about windows/mac users as well
22:32:22gradhaat the most basic level a template like structure could be provided by niminst where it automatically calls nimmain and calls execution of the main module
22:32:57gradhahowever, mac bundles are graphical apps, so it implies either a mac interface binding or using 3rd party like gtk
22:33:09gradhathe bundling of gtk/other will be a pain
22:33:50*gour is interested to write gtk app
22:34:13gradhaI guess I could use Aporia as a test case for mac bundling experiments
22:34:59dom96yeah!
22:35:17dom96btw how are gtk apps on mac os x?
22:35:22dom96from what I hear they look ugly
22:35:54gournow i've to go to sleep...all i can say is tha Araq was doing some fishing and now i'm not sure how we'll spend the night experiencing anger of angry Ada-gods...and i was warned to be careful with data on 12.12.2012. :-)
22:35:54gradhaonly recently they gained "nativeness", so in practice most run under X
22:36:15gourgradha: but there is work on native port, right?
22:36:20gradhaand anything running under X on mac looks crap
22:36:42gradhavery very recently, the build instructions are still like a minefield
22:36:44gouryeah, wx would be better option for mac
22:37:13*gour --> sleep...'night and see you tomorrow
22:37:19Araqgood night
22:37:20gradhabye
22:37:24*gour quit (Quit: WeeChat 0.3.8)
22:37:55dom96gradha: If you ever get Aporia looking sexy on Mac OS X please let me know.
22:38:20dom96gradha: Also, would be nice if you provided instructions in the readme of Aporia on how to get it running on Mac OS X.
22:38:23gradhait will be a trans-dimensional message from a parallel universe, though
22:38:44gradhathat is on my todo list, had some stuff noted down about macports dependencies
22:39:06dom96lol
22:50:05gradhareading gour's estimation of 200 nimrod users, isn't that off by a factor of like 10?
22:50:47Araqyeah but I didn't have the balls to tell him :P
22:50:48dom96yeah, sadly.
22:51:14Araqalso ... he could be right, who knows
22:51:49gradhaThe felix wikipedia entry has likely not been deleted because nobody tried to update it in a while
22:52:17dom96I bet the Nimrod one got deleted because it was linked to from the Python article
22:52:53Araqfind me the old article and I'll fight to get back on wikipedia
22:56:19dom96Seems the original article is gone: http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Nimrod_%28programming_language%29
22:56:24dom96That's the talk page.
23:11:43*XAMPP_ quit (Read error: Connection reset by peer)
23:21:30*gradha quit (Quit: gradha)
23:28:21reactormonkLet's see if I can get anyone to write a paper about it... :-)
23:28:38reactormonkmay take one or two year, though
23:45:34dom96good night
23:57:45*q66 quit (Quit: Quit)