If that's a serious reply, how does that work exactly?
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Technology stack for a high freq low lat trading system
Collapse
X
-
Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishing -
It is a serious reply.Originally posted by d000hg View PostIf that's a serious reply, how does that work exactly?
We have a library of factories that manage pre-allocated objects. When these objects are no longer required they are handed back to the factory where they are "cleaned" for reuse.
It's a little more complicated than that but you get the general idea.
Comment
-
Ah, I've seen similar things even in C... 'steal' all the memory at startup so you don't need to alloc/dellaoc it.
Thanks.Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
Think "Singleton" pattern for your factories.Originally posted by d000hg View PostAh, I've seen similar things even in C... 'steal' all the memory at startup so you don't need to alloc/dellaoc it.
Thanks.
Comment
-
In other words, you're doing your own memory management because the built in system is deficient. May as well have just done it in C++ in the first place ;-).Originally posted by SupremeSpod View PostIt is a serious reply.
We have a library of factories that manage pre-allocated objects. When these objects are no longer required they are handed back to the factory where they are "cleaned" for reuse.
It's a little more complicated than that but you get the general idea.Will work inside IR35. Or for food.Comment
-
[De]Allocing memory all over the shop is bad in C/C++ too, hence C++ apps sometimes do similar things... when you're running this kind of thing you can't even trust the OS to do it right.Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
Not when your customer wants it in Java.Originally posted by VectraMan View PostIn other words, you're doing your own memory management because the built in system is deficient. May as well have just done it in C++ in the first place ;-).
Btw, I have developers who do that kind of thing for me now.

Comment
-
Never, ever trust the operating system.Originally posted by d000hg View Post[De]Allocing memory all over the shop is bad in C/C++ too, hence C++ apps sometimes do similar things... when you're running this kind of thing you can't even trust the OS to do it right.

Comment
-
Yes it causes memory fragmentation, gave me too much headache in a previous job.Originally posted by d000hg View Post[De]Allocing memory all over the shop is bad in C/C++ tooComment
-
The OS generally doesn't do much more than allow you to ensure a range of addresses is actually backed by something e.g. brk, VirtualAlloc etc, although Windows does offer heaps.Originally posted by d000hg View Post[De]Allocing memory all over the shop is bad in C/C++ too, hence C++ apps sometimes do similar things... when you're running this kind of thing you can't even trust the OS to do it right.
What most programmers think of as memory management is done by the runtime and will be implemented in different ways by different dev tools and libraries. On solaris for example malloc() can resolve to one of several different implementations at runtime, and the implementation is likely different in different versions of visual studio as well.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Payments on Account deadline: what contractors must do before July 31st — maybe for the final few times Today 08:01
- Andy Burnham's first 100 days: five things contractors need from the new PM Yesterday 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59
- Burnham's housing vision vs. Starmer's home-buying reforms: what it means for your contractor mortgage Jul 22 00:59
- In Khalil v Innovate Transport, a limited company contractor wasn’t a worker and was on £2.30 — not £230 Jul 21 07:58
- Andy Burnham is PM: 5 new IT policies set to shape UK tech and its contractors Jul 20 06:29
- Taxed on money I haven't earned yet? Bold move, HMRC Jul 17 08:36
- The Fair Work Agency has got zero hours in its sights. Do you? Jul 16 08:44
- Cookie Policy Jul 15 11:50
- Cloned again: an umbrella company founder's warning on fraud, JSL and Companies House Jul 15 07:47

Comment