Re: [sage-devel] On scientific computing, Python and Julia

2014-07-21 Thread Stefan Karpinski
On Mon, Jul 21, 2014 at 2:12 PM, Nils Bruin wrote: > It certainly seems unlikely we'd be able to utilize these ideas without > significantly altering python/cython. I guess "Sulia" or "Juxiom" might be > the next generation computer algebra system. > Glad the explanation was helpful, even if imm

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-21 Thread Stefan Karpinski
On Mon, Jul 21, 2014 at 11:50 AM, Nils Bruin wrote: > On Friday, July 18, 2014 4:01:10 PM UTC-7, Stefan Karpinski wrote: > >> If Julia has shown anything, it's that you *can* have ubiquitous multiple >> dispatch in a dynamic language and have it be very fast – it is

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-20 Thread Stefan Karpinski
e code that needs to actually do the dispatch at runtime, in which case you need to resort to double dispatch or something like that in C++. On Sun, Jul 20, 2014 at 5:09 PM, Francesco Biscani wrote: > Hello Stefan, > > thanks for the explanations, this all looks really interesting to me. >

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-19 Thread Stefan Karpinski
On Sat, Jul 19, 2014 at 8:22 AM, Nils Bruin wrote: > Consider A+B where A is a polynomial in ZZ[x,y] and B is a power series in > F_q[[x]] (finite field with q elements). > > Do you expect your CAS to make sense of that addition? Sage does. It > returns an answer in F_q[[x]][y] (i.e., a polynomia

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-19 Thread Stefan Karpinski
Hi Sage folks! I gave that presentation on multiple dispatch at Strange Loop last year. Since someone pointed this thread out to me and the topic of multiple dispatch and type promotion is near and dear to my heart, I thought I'd chime in. Maybe my comments will be of some use. (Btw, since some