-----Original Message-----
From: nanomsg-bounce@xxxxxxxxxxxxx [mailto:nanomsg-bounce@xxxxxxxxxxxxx] On ;
Behalf Of Jason E. Aten
Sent: Monday, December 05, 2016 6:20 PM
To: nanomsg <nanomsg@xxxxxxxxxxxxx>
Subject: [nanomsg] Re: [Non-DoD Source] Re: Modifications necessary to run
nanomsg on a simulator
On Mon, Dec 5, 2016 at 1:35 PM, Karan, Cem F CIV USARMY RDECOM ARL (US)
<cem.f.karan.civ@xxxxxxxx < Caution-
mailto:cem.f.karan.civ@xxxxxxxx ;> > wrote:
> -----Original Message-----
> From: nanomsg-bounce@xxxxxxxxxxxxx <
Caution-mailto:nanomsg-bounce@xxxxxxxxxxxxx ;> [Caution-mailto:nanomsg-
bounce@xxxxxxxxxxxxx < Caution-mailto:nanomsg-bounce@xxxxxxxxxxxxx ;> ] On
> Behalf Of Jason E. Aten
> Sent: Monday, December 05, 2016 1:52 PM
> To: nanomsg <nanomsg@xxxxxxxxxxxxx <
Caution-mailto:nanomsg@xxxxxxxxxxxxx ;
> >
> Subject: [nanomsg] Re: [Non-DoD Source] Re: Modifications necessary
to
run
> nanomsg on a simulator
>
> Hi Cem,
>
> For a simulation I don't see why any actual networking code is called
for
at
> all. With a dissertation the conclusion/theory matters and the
> implementation should rarely be fully fleshed out.
You're right, I just wanted to make my dissertation really stand out.
If
it
is difficult to get nanomsg to do what I want, I'll continue with what
I
have
and fake it.
> I would skip the implementation details and simply model the
mathematics
of
> the simulation using matrices in Matlab or R.
Matlab and R are too slow (I tried python and Numpy at one point, it
still
couldn't handle it).
At the risk of pointing out the obvious: your simulation is going to be at
least 1000x -10,000x slower than the math alone, if you are lucky.
So if the pure math is slow, you have no chance of having a simulation go
faster.
R and Matlab used heavily optimized BLAS routines under the covers, and
doing 1000x1000 matrix multiplication takes ~1 second on my
laptop. Vetting you algo in math with 1000 robots should give you insight
before building it; and will save you years of effort.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature