[julia-users] Re: jump ahead in Mersenne Twister

2016-10-22 Thread Joaquim Masset Lacombe Dias Garcia
Thanks Dan, I will try using the dSFMTjump lib! best,

[julia-users] How to save an object of a defined type

2016-10-22 Thread varun7rs
I have a module defined as module *Core* within which I have defined several types (*Node*, *Edge*, *Res*). Now what I intend to do is that I want to save the output of a function which is an object (*res1*) of type *Res* onto a JLD file so that I can retrieve it later on. I am calling the

Re: [julia-users] A "two-languages" problem when embedding Julia

2016-10-22 Thread Cristóvão Duarte Sousa
Thanks Yichao, and thank you very much for the links. On Saturday, October 22, 2016 at 5:38:58 PM UTC+1, Yichao Yu wrote: > > On Sat, Oct 22, 2016 at 12:26 PM, Cristóvão Duarte Sousa > wrote: > > Thanks, Yichao. > > > > Rereading my first question and reading your second

Re: [julia-users] A "two-languages" problem when embedding Julia

2016-10-22 Thread Yichao Yu
On Sat, Oct 22, 2016 at 12:26 PM, Cristóvão Duarte Sousa wrote: > Thanks, Yichao. > > Rereading my first question and reading your second answer I think may have > been not clear in the first one. > In the first question, I wanted to ask not about the current state but > rather

Re: [julia-users] A "two-languages" problem when embedding Julia

2016-10-22 Thread Cristóvão Duarte Sousa
Thanks, Yichao. Rereading my first question and reading your second answer I think may have been not clear in the first one. In the first question, I wanted to ask not about the current state but rather about the future goal of the development. Is your "no" about the current state or are you

Re: [julia-users] A "two-languages" problem when embedding Julia

2016-10-22 Thread Yichao Yu
> Now, let me ask two questions. > - Will the current thread support development allow embedding Julia into > multiple threads (even if it is as multiple instances)? > No. > - What are my options **today**, if any, to somehow overcome this > limitation? > You can only call julia runtime/code

[julia-users] A "two-languages" problem when embedding Julia

2016-10-22 Thread Cristóvão Duarte Sousa
I would like to get some advice on how to integrate Julia into an existing application written in C++. I mainly work in image processing and computer vision applications. May traditional way of working is to do the exploratory prototyping in a high-level language, and then, when algorithms

[julia-users] Re: Does Julia support Integer literal suffix like 1234L or 1234U

2016-10-22 Thread Scott T
You could take advantage of implicit multiplication to define this yourself: julia> type ShortLiteral end; const S = ShortLiteral(); julia> type LongLiteral end; const L = LongLiteral(); julia> Base.:*(x::Integer, ::ShortLiteral) = Int32(x) julia> Base.:*(x::Integer, ::LongLiteral) = Int64(x)

[julia-users] Does Julia support Integer literal suffix like 1234L or 1234U

2016-10-22 Thread FANG Colin
Just wondering if Julia has any integer literal suffix support? So we don't have to write Int64(1234) or Int32(1234) in a long expression containing constants, but use 1234L or 1234S instead.

[julia-users] Re: Benchmarking workflow

2016-10-22 Thread Christoph Ortner
Have a look at `JuMOS`, `QuantumLab.jl` and `JuLIP.jl`, it would be nice to coordinate rather than develop multiple molecular simulation packages.