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
- What did Spring Statement 2026 say about mortgages? Today 07:29
- Rachel Reeves overlooks contractors in ‘thin’ Spring Statement 2026 Yesterday 07:15
- Spring Statement 2026: chancellor’s full speech Mar 3 21:03
- Unlike today’s ‘boring’ Spring Statement 2026, Make Work Pay is transformative for contractors Mar 3 07:45
- Here’s Joint & Several Liability’s big misconception, and 5 key risks Mar 2 06:59
- How to run a limited company — efficiently: smarter profit strategies Feb 27 07:13
- IR35 & Mutuality of Obligation in 2026/27: Explainer for Contractors Feb 26 07:32
- Post Office hit with ‘crazy’ £104million HMRC bill for IR35 failings Feb 25 07:03
- IR35 & Right of Substitution in 2026/27: Explainer for Contractors Feb 24 06:59
- Why Rupert Lowe MP’s Restore Britain has it wrong on IR35 Feb 23 07:21

Comment