SERVING THE QUANTITATIVE FINANCE COMMUNITY

Search found 2523 matches

by Polter
August 28th, 2015, 11:34 am
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<r>Cuch: Take a look at Boost.Thread futures (implementing Concurrency TS proposal), continuations are pretty cool:<URL url="http://www.boost.org/doc/libs/master/doc/html/thread/synchronization.html#thread.synchronization.futures.then"><LINK_TEXT text="http://www.boost.org/doc/libs/master/do ... tur...
by Polter
August 27th, 2015, 2:59 pm
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<t>Futures make sense when you need to easily communicate the results / synchronize operations (which includes expressing a possible dependency among these) between different threads (in particular, futures created using std::async can be used for returning results, where "returning" in a special ca...
by Polter
August 27th, 2015, 10:29 am
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<r>> Here is the C+11 futures code that is slow. Maybe it is being used wrong??Yeah, when you call `get` member function you're forcing it to wait: <URL url="http://en.cppreference.com/w/cpp/thread/future/getInstead"><LINK_TEXT text="http://en.cppreference.com/w/cpp/thread ... getInstead">http://en....
by Polter
August 26th, 2015, 2:41 pm
Forum: Programming and Software Forum
Topic: Online Volatility Calculation
Replies: 6
Views: 3068

Online Volatility Calculation

Seems a bit similar to the NYU Stern's V-Lab: http://vlab.stern.nyu.edu/welcome/risk/
by Polter
August 25th, 2015, 7:29 pm
Forum: Programming and Software Forum
Topic: "The collapse of the .net ecosystem"
Replies: 42
Views: 7228

"The collapse of the .net ecosystem"

<t>QuoteOriginally posted by: Traden4AlphaQuoteOriginally posted by: outrunQuoteOriginally posted by: CuchulainnQuoteOriginally posted by: PolterQuoteOriginally posted by: CuchulainnQuoteOriginally posted by: PolterGreat stuff, hope it fully interops with COBOL ON COGS!Using interfaces and delegates...
by Polter
August 25th, 2015, 4:42 pm
Forum: Programming and Software Forum
Topic: "The collapse of the .net ecosystem"
Replies: 42
Views: 7228

"The collapse of the .net ecosystem"

QuoteOriginally posted by: CuchulainnQuoteOriginally posted by: PolterGreat stuff, hope it fully interops with COBOL ON COGS!Using interfaces and delegates?;)And bridges for Node.js!
by Polter
August 23rd, 2015, 1:42 pm
Forum: Programming and Software Forum
Topic: "The collapse of the .net ecosystem"
Replies: 42
Views: 7228

"The collapse of the .net ecosystem"

Great stuff, hope it fully interops with COBOL ON COGS!
by Polter
August 20th, 2015, 6:46 pm
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<t>Yeah, it is a bit tricky. Especially since the standard says the following:template<class T>shared_ptr<T> atomic_exchange_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo);Requires: p shall not be null.Effects: p->swap(r).Returns: The previous value of *p.Throws: Nothing.The "tricky" p...
by Polter
August 20th, 2015, 3:49 pm
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<r>`std::atomic_exchange` replaces (overwrites) the first operand (passed-by-pointer) with the second operand (passed-by-value). If you'd like to access the former value use the return value:<URL url="http://en.cppreference.com/w/cpp/atomic/atomic_exchangehttp://en.cppreference.com/w/cpp/memory/shar...
by Polter
August 20th, 2015, 9:04 am
Forum: Programming and Software Forum
Topic: No new C++ until 2010, no concepts
Replies: 16
Views: 41590

No new C++ until 2010, no concepts

Object Oriented Programming without Inheritance - ECOOP 2015 -- Bjarne Stroustrup
by Polter
August 17th, 2015, 11:54 am
Forum: Programming and Software Forum
Topic: Shared ptr
Replies: 34
Views: 7998

Shared ptr

Hm, wondering, perhaps you can try comparing to another compiler on an otherwise unmodified platform -- is it reproducible?
by Polter
August 15th, 2015, 6:43 pm
Forum: Programming and Software Forum
Topic: .NET Performance Tuning Tips
Replies: 7
Views: 3185

.NET Performance Tuning Tips

<r>Making .NET Applications Faster - Sasha Goldshtein: <VIMEO id="131636651" url="http://vimeo.com/131636651Slides,"><URL url="http://vimeo.com/131636651Slides">http://vimeo.com/131636651Slides</URL>,</VIMEO> demos: <URL url="http://blogs.microsoft.co.il/sasha/2015/07/16/materials-from-ndc-oslo-2015...
by Polter
August 15th, 2015, 3:16 pm
Forum: Programming and Software Forum
Topic: C++ 11 Concurrency
Replies: 72
Views: 7621

C++ 11 Concurrency

<r>Regarding parallelism: It seems that parallel algorithms are coming first:<URL url="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4505.pdfhttp://www.open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4507.pdfRegarding"><LINK_TEXT text="http://www.open-std.org/JTC1/SC22/WG21/ ... fRegarding"...
by Polter
August 6th, 2015, 7:52 pm
Forum: Programming and Software Forum
Topic: virtual calls overhead / crtp
Replies: 61
Views: 9755

virtual calls overhead / crtp

<t>And remember that if it's not in the hot path or if the vcalls themselves are invariant, then hardware (branch prediction) may also do the trick. Or it may not :>There's profiling, naturally, but that's not necessarily any easier than looking at the assembly (depending on how it's done, that is; ...
GZIP: On