IRC Logs for #io Thursday, 2014-05-29

*** c74d has quit IRC00:03
*** c74d has joined #io00:05
*** robonerd has quit IRC00:13
*** robonerd has joined #io00:14
*** bjz_ has joined #io00:43
*** bjz_ has quit IRC00:48
*** TheMonkey has joined #io01:09
stapler<stapler> how would i bind a c/++ library?01:36
prologicstapler: I’d look at the source code to one of the existing addons.01:40
prologicMany of them wrap existing C libraries01:40
prologicunfortuantely I cannot find docs on the website about this01:40
prologicso you’ll have to dig through the source tree01:40
prologichttp://iolanguage.org/scm/io/docs/IoGuide.html#Bindings01:40
prologicThere is also a C FFI object in the stndard library afaik01:40
prologichttp://iolanguage.org/scm/io/docs/reference/index.html#/binding/CFFI/CFFI01:41
prologicbut no doc strings for it :/01:42
prologicyou’ll have to inspect the oobject to see how it’s used01:42
stapleralso, is io production ready?01:43
staplerif not, are there any languages similar that are (smalltalk?)01:44
prologicdefinre “production ready"01:45
staplerfast, scales, won't crash on me01:45
staplersorry for all the questions.01:46
staplerreally looking into io.01:46
prologicfast compared to what?01:46
prologicscales - sure it can scale01:46
prologicit has a nice multi-state vm design with coroutines01:46
prologicand actor based concurrency01:46
prologicas wel as asynchronousn messaging01:46
prologicscalability (vertical) is not a problem for Io01:47
prologicwon’t crash?01:47
prologicAny program writtne in any programming langauge *can crash*01:47
prologicYou should design contingines01:47
prologicand assume at some point your software system *will crash*01:47
prologicPerformance and Reliablty are things that no programming lanauge can really solve - it’s a design and architecture problem01:48
prologicif you want a faul tolerant system then you need to design one :)01:48
staplerwas doing some testing with luvit and when i hit like01:49
stapler5000 concurrent connections, it crashed01:49
stapleretc etc01:49
staplerreliable i should say01:49
stapleralso, how should i handle constructors?01:49
prologicthat’s part of the language01:50
prologiclook up the reference/guide01:50
staplercan init take arguments01:50
prologicany OOP langauge has constructors :)01:50
prologicI believe it can01:50
prologicbe useless otherwise :)01:50
prologicalso if you’re trying to build a software system that handles > 1000 concurrent conenctions01:50
prologicyou will eventually run into some system limtiations01:50
prologicand you may need to start tweaking kernel configurations and other things01:51
prologicout of the box almost no system will cope with high concurrent lodas without good configuration01:51
prologicyou’ll need to play with maximum file descriptor limits and other network settings01:51
prologicand that’s only scaling vertically01:51
prologicideally one should also scale horiziaontally01:52
prologichorizontally*01:52
*** bjz has joined #io02:41
*** gatesphere has quit IRC02:45
*** c74d has quit IRC03:26
*** c74d has joined #io03:30
*** stapler has quit IRC03:31
*** asie has joined #io05:58
*** asie has quit IRC06:11
*** pchalupa has joined #io06:57
*** c74d has quit IRC07:39
*** c74d has joined #io08:24
*** c74d has quit IRC08:33
*** c74d has joined #io08:37
*** c74d has quit IRC08:43
*** c74d has joined #io09:51
*** hashmal has joined #io10:08
*** c74d has quit IRC11:40
*** c74d has joined #io11:43
*** robonerd has quit IRC12:23
*** robonerd has joined #io12:24
*** gatesphere has joined #io12:54
*** ijon_ has joined #io14:43
*** bjz has quit IRC14:44
*** ijon_ has quit IRC14:45
*** asie has joined #io15:04
*** asie has quit IRC15:15
*** pchalupa has quit IRC16:56
*** hashmal has quit IRC16:58
*** asie has joined #io17:25
*** asie has quit IRC17:49
*** bjz has joined #io19:35
*** bjz has quit IRC19:41
*** Thor has quit IRC20:02
*** Thor has joined #io20:04
*** stapler has joined #io21:15
*** bjz_ has joined #io21:38
*** bjz_ has quit IRC21:43
*** stapler has quit IRC21:54

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!