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
- HMRC abandons PGMOL football referees case: Are contractors and IR35 hit? Jul 2 05:09
- Crypto tax and contractors: What HMRC’s new cryptoasset research really means Jul 1 04:03
- Crypto Tax and Contractors: What HMRC's New Cryptoasset Research Really Means Jul 1 04:03
- Profit and loss accounts set for public filing at Companies House from 2028 — what it means for your contractor business Jun 30 03:38
- UK IT Contractors: How to land Forward Deployed Engineer roles beyond Palantir, Anthropic and OpenAI Jun 29 05:52
- The 3 highest-paying software contractor jobs right now, and what they actually pay Jun 25 03:52
- The beginning of the end for Boox ‘MSC’ contractors has begun. Check back in 2031 Jun 24 06:25
- Andy Burnham as prime minister ‘would cut both ways for self-employed contractors’ Jun 23 02:18
- The 3 highest-paying software contractor jobs right now, and what they actually pay Jun 22 15:52
- Taxman tells contractors that only four new tax avoidance schemes needed avoiding in Q2 Jun 22 05:47

Comment