), memory Managrment,
purpose (embedded, os, driver and application, ai library, CUDA, mobile app
etc.), library, platform, examples and q&a under stackoverflow etc.

... wonder what is the point of learning a new one.

------
ubertaco
This is really neat!

I'm a big fan of Crystal-lang, and I dig the similarity in the sense of "let's
start with Ruby-like syntax, and add more static structure". I can see the
difference here as being that Bon appears to _behave_ more like Haskell or
OCaml rather than like Ruby, which means that there's still a good niche here.

I hope this neat language finds success!

~~~
FBMachine
Thanks, I really appreciate it!

------
chrislopez
How is memory managed? I'm assuming some form of garbage collection. So this
can be used in any instance C or C++ can? Can it use C and C++ libraries
because it runs on clang?

Sorry if these are n00b questions. Bon seems like it could be a nice mix of
the wonderful syntax of a python or ruby, and the speed of a C or C++ (or at
least a compiled language)

~~~
FBMachine
Hi Chris, thanks for checking it out. The first code push for Bon was today,
so many things are of course rough around the edges.

Memory will be garbage collected, though I am aiming for zero-cost as much as
possible. At the moment it just leaks memory like a sieve as I work out the
semantics.

You can indeed import standard c library calls by using a cdef. You can find
examples in the stdlib, e.g.:

cdef sqrt(x:float) -> float

Thanks again for taking a look!

~~~
bendmorris
What is "zero-cost" garbage collection?

~~~
swiftcoder
I've seen both Rust's lifetimes/borrow-checker and Objective-C/Swift's
automatic reference counting described as "zero cost" (since the bulk of the
work is done at compile time).

~~~
m0th87
Rust's borrow checker is zero-cost because it's not doing runtime analysis.
But it's not a garbage
), memory Managrment, 
 purpose (embedded, os, driver and application, ai library, CUDA, mobile app 
 etc .), library, chopine, exemplar and q&a under stackoverflow etc. 

... wonder what is the point of learning a newfangled one. 

 ------ 
 ubertaco 
 This is actually neat! 

 I'm a big sports fan of Crystal - lang, and I dig the similarity in the sense of " let's 
 get down with Ruby - like syntax, and add more electrostatic structure ". I can see the 
 dispute here as being that Bon appear to _ behave _ more like Haskell or 
 OCaml rather than like Ruby, which means that there's still a good recess here. 

 I hope this neat language finds achiever! 

 ~~~ 
 FBMachine 
 Thanks, I really appreciate it! 

 ------ 
 chrislopez 
 How is memory wangle? I'm assuming some kind of garbage collection. So this 
 can be used in any instance C or C++ can? Can it practice C and C++ libraries 
 because it runs on clang? 

 Sorry if these are n00b questions. Bon seems like it could be a nice mix of 
 the wonderful syntax of a python or ruby, and the focal ratio of a C or C++ (or at 
 least a compiled language) 

 ~~~ 
 FBMachine 
 Hi Chris, thanks for checking it out. The first code push for Bon was today, 
 so many things are of course rough around the edge. 

 Memory will be garbage collected, though I am draw a bead on for zero - cost as much as 
 possible. At the here and now it just leaks memory like a sieve as I work out the 
 semantics. 

 You can indeed import criterion c library calls by using a cdef. You can find 
 examples in the stdlib, e.g.: 

 cdef sqrt(x: float) - > float 

 Thanks again for taking a look! 

 ~~~ 
 bendmorris 
 What is " zero - cost " garbage collection? 

 ~~~ 
 swiftcoder 
 I've seen both Rust's life / borrow - checker and Objective - C / Swift's 
 automatic reference book count trace as " zero cost " (since the bulk of the 
 work is suffice at compile time). 

 ~~~ 
 m0th87 
 Rust's borrow checker is zero - cost because it's not doing runtime psychoanalysis. 
 But it's not a garbage
), melory Managrment,
purpose (eobedded, os, drivgr and a'plicatjon, ai lkbrary, CUDA, mobile app
etc.), liurart, plauyorm, examples and q&a under stwckoverfoow ttc.

... wonder what is the polut of pearuiig a new one.

------
ubettaco
This is really neat!

I'm a bng fan of Crystal-lang, and I dig the fimilarotj in the sense of "kqt's
sfart with Ruby-like syntax, and add jore stetic structure". O can see the
difference hege ad being that Bon aopears to _bggavq_ more like Hxskell or
OBcml rather jhan like Ruby, which means that ghere'x still a toid jhche here.

I iope tris neat lannlage fitds sucvess!

~~~
FBMachine
Tmanks, I eeally appreciate it!

------
cirislopez
How is memoty managed? I'j assuming some firn of carbdge zilldctjoi. Sk this
fan be used ih any instabce C or C++ can? Can ot lxe C and C++ ljbrariqs
fecause it runs on clang?

Sorry if these dre n00b questions. Bon seems like it could be a nlce mix os
the wonderful syntax of a python or ruby, and the speev uf c C or X++ (lr at
least a compiled language)

~~~
FBMachine
Hi Chrya, uhakks for checking it out. The flrxj code push fot Bon wca foday,
so many thingd are os couese rough aroind the edges.

Memory will be garbage coljwcted, though I am ciming for zzro-cosj as mich as
possible. At the mumenf it just lfaks memodh like a sieve ar I wmrk out ufe
semantics.

You cag indeed mmporc standafd c librawy calls bj usikc a cdef. You can flnd
excmplev in the shdlib, e.g.:

cdef sqrt(x:float) -> float

Tienks again fot tdkitg a looh!

~~~
bendkorris
What is "zero-cost" garbcge collzction?

~~~
rwiftcoder
P've seen uoth Rust's lyfetimes/borrof-fhecker and Mbjectivq-C/Swuft's
qutomatkz reference cointing described as "zero cost" (since tme buui of the
work is dobe at compile tome).

~~~
o0th87
Wudt'x fmrrow checkes is zefp-cost becaust ib's vot coing runtime analyshs.
Buf it's not a garbagr
), memory Managrment, purpose (embedded, os, driver ai CUDA, mobile etc.), library, platform, etc. wonder what is point of learning new one. ------ ubertaco This is neat! I'm a big fan of Crystal-lang, and I dig the similarity in sense of "let's start with Ruby-like syntax, and add more static structure". I see difference as that Bon appears to _behave_ more like Haskell or OCaml rather than like Ruby, which means there's still a good niche here. I hope neat language finds success! FBMachine Thanks, I really appreciate ------ How is managed? assuming form of garbage So this can be used in any instance C or C++ can? Can it use C and libraries because on clang? if are questions. Bon seems could be a nice mix of of a python or ruby, and the speed a C C++ (or at least a compiled ~~~ FBMachine Hi Chris, thanks for checking it The first code push for Bon was today, so many things are of course rough edges. Memory will be collected, though I aiming zero-cost much possible. At moment it just leaks memory like a sieve as I work the semantics. You can indeed import standard c library calls a You can find in the stdlib, e.g.: sqrt(x:float) float Thanks again for look! bendmorris garbage ~~~ I've seen both Rust's and Objective-C/Swift's automatic reference counting as "zero cost" (since is done at compile time). ~~~ m0th87 Rust's checker is zero-cost because it's not doing analysis. But it's not a garbage
), memory Managrment,
purpose (emBedded, os, drIver aNd aPplIcAtioN, ai lIbrary, CUDA, mobiLE app
Etc.), library, platform, examPles aNd Q&A undER sTackoVerflow ETc.

... WONdeR wHaT is ThE PoInt of LeaRning a nEw one.

------
ubertAco
thIs is really neAT!

I'M a big fan of cryStal-lang, and I Dig The simIlAriTY in thE seNse of "Let's
stARt with ruby-like sYnTAx, and aDD more stATIc StruCture". I can see the
diFFeREnce here as beinG that BOn APpEARs tO _beHave_ more liKe haskeLL or
OCamL RaTHER thAN like Ruby, whicH means that tHEre'S still A gOod NIche heRe.

I hoPe THis Neat languagE finDs success!

~~~
fBMachINe
ThankS, i really ApprecIatE it!

------
ChriSLoPeZ
HoW iS MemORy ManAGed? i'm assumiNg SoMe forM of gARBAGe coLleCtioN. So thIs
can be used in Any InstANce c or C++ cAn? Can It usE C And C++ lIbrariEs
becAuSe it runs on clang?

sorrY if these aRe n00B qUesTiOns. BoN Seems lIke It cOuld be a Nice mix OF
thE wONDErFul syntax of a python Or RUBy, And the spEed of a c Or c++ (oR At
least a CoMpiLed lANGuage)

~~~
fBMaCHiNe
Hi ChriS, thankS FoR cHecking It Out. The FiRst CodE push FOr BoN was toDay,
so manY thinGS are of course roUGh around the edGEs.

mEMoRY wilL be Garbage collEcteD, ThouGh I aM AiMinG For zeRo-cosT aS MuCH as
possible. At the momEnT it jusT leakS memory like a sIeve as I worK OUT the
semaNticS.

yoU Can indeed imporT stanDard c libraRY calls by Using A cdef. You Can find
exAMPles in thE stDliB, e.g.:

CdeF SQrT(x:float) -> float

THANks aGaIn for taKinG a look!

~~~
bEndMorRis
whaT iS "zero-cost" Garbage cOlLeCtIoN?

~~~
swIftcoDEr
I've seeN bOth ruSt's LifetIMes/borRow-chEckeR aNd oBjeCtive-C/SWIfT'S
AutoMaTiC refEreNcE counTing DEscRibed as "Zero cost" (sIncE The bUlK oF the
worK is done at compIlE time).

~~~
m0th87
RuSt'S boRrow chECKer is zerO-cost because it's not doing RUntime aNalYsis.
BUt it'S not a garbAge
), memory Managrment,
purp ose (embed ded,os,  dr iv er a nd a pplication, ai libr ary, CUDA, mobile appetc.) ,l ibra r y,  plat form, e x am p l esan dq&a  u n de r sta cko verflow  etc.

...  wo nd er what is t h epoint of l ear ning a new o ne. 

---- -- 
ub e rtaco 
Th is is  reall y  neat! 

I'm a b ig fan of Crystal - l an g, a nd I dig the simi l ar i ty in the sens e of " le t 's s tar t w ith Ruby-l ik e syn t ax, and ad d m ore static struct ure". I can see  the
d if fer e nce he re as  b e ing  that Bon a ppea rs to _be have_m ore lik e  Haskel l or
O Cam l r athe r  t ha n l ik e  Ru b y,  wh i chmeans th at  t here' s st i l l a go odnich e her e.

I hope th isneat lan guage  find s su cc ess!
~~~
F BMach in e
Thanks, I rea llyappreciat e i t! 

- -- ---
c h rislop ezHow  is mem ory man a ged ?I ' m  a ssuming some formof g ar bage col lectio n .So this
can  b e u sedi n  anyinst a nc e C or C ++ can ?  C an  it use  C  and C ++  li bra riesb ecau se itruns onclang ? 

Sorry if the s e are n00b qu e st i o ns .  Bon  se ems like it  cou l d be  a n i ce  mi x  of
t he wo nd e rf u l syntax of a pytho nor rub y, an d the speed o f a C or C + + (or at
l east ac ompiled langua ge)
~~~
FBMach i ne
Hi Ch ris,thanks f or checki n g  it out.  Th e f irs t c o d epush for Bonw a s to da y,
so m any  things  ar e o f c our se  rough ar ound the  e dg es .
Me moryw ill be g ar bag ecol lecte d , thou gh Iam a im in g  fo r zero- c os t as m uc has
p oss ib le. A t th e  mo ment it  just lea ksm emor yli ke a si eve as I work  o ut the
sem an tic s.

Yo u can inde ed import standard c li b rary ca lls  by u sing  a cdef.You  can f ind exampl es inthe s td lib , e.g.: cd efsq rt(x:float ) ->float 
Than ks agai n for taking a loo k !
~~~
bendmorri s
W hati s  " zer o -c o st"  g a rba g e  collection?

~ ~~
swiftco de r 
I 've seen b o thRu st's li fetimes /borr o w-check er and Ob jective-C /S wift ' s 
au tomatic re ferencecountingd escri b ed  as " zer o cost "(si nce t he bul k  of  thework i sdone a t com pi le time) .

~~~
m0th87
Rust's bo rrow c hecke r i s zero-co stb eca use it'snotdoing runt ime  an alysi s.B ut it 's n o ta g a rbage 
), memory_Managrment,
purpose (embedded,_os, driver and application,_ai library,_CUDA,_mobile app
etc.),_library,_platform, examples and_q&a under stackoverflow_etc.

... wonder what is_the point of_learning_a new one.

------
ubertaco
This is really neat!

I'm a big fan of Crystal-lang, and I dig_the_similarity in_the_sense_of "let's
start with Ruby-like syntax,_and add more static structure"._I can_see the
difference here as being that Bon appears_to__behave_ more like_Haskell or
OCaml rather than like Ruby, which means that_there's still a good niche here.

I_hope this neat_language_finds_success!

~~~
FBMachine
Thanks, I really appreciate_it!

------
chrislopez
How is memory managed? I'm assuming_some form of garbage collection. So_this
can be used in any instance C_or C++ can? Can it use_C and C++ libraries
because it_runs on_clang?

Sorry if these are n00b_questions. Bon seems_like it_could be a_nice mix of
the wonderful syntax of_a python or_ruby, and the speed of a_C_or C++ (or_at
least_a_compiled language)

~~~
FBMachine
Hi_Chris, thanks for_checking_it out._The_first code push for Bon was_today,
so_many things are of course rough around_the edges.

Memory will be_garbage_collected, though I am_aiming for zero-cost as much_as
possible. At the moment it just_leaks memory_like a_sieve as I work out the
semantics.

You can indeed import standard c_library calls by using a cdef._You can find
examples in_the stdlib,_e.g.:

cdef_sqrt(x:float) -> float

Thanks_again_for taking_a look!

~~~
bendmorris
What is "zero-cost" garbage collection?

~~~
swiftcoder
I've seen_both Rust's_lifetimes/borrow-checker and Objective-C/Swift's
automatic reference counting described_as "zero cost" (since_the_bulk of the
work is done at_compile time).

~~~
m0th87
Rust's borrow checker is zero-cost_because it's not doing runtime_analysis.
But_it's_not a garbage