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
- Business expenses: What IT contractors can and cannot claim from HMRC Yesterday 08:44
- April’s umbrella PAYE risk: how contractors’ end-clients are prepping Jan 29 05:45
- How EV tax changes of 2025-2028 add up for contractor limited company directors Jan 28 08:11
- Under the terms he was shackled by, Ray McCann’s Loan Charge Review probably is a fair resolution Jan 27 08:41
- Contractors, a £25million crackdown on rogue company directors is coming Jan 26 05:02
- How to run a contractor limited company — efficiently. Part one: software Jan 22 23:31
- Forget February as an MSC contractor seeking clarity, and maybe forget fairness altogether Jan 22 19:57
- What contractors should take from Honest Payroll Ltd’s failure Jan 21 07:05
- HMRC tax avoidance list ‘proves promoters’ nothing-to-lose mentality’ Jan 20 09:17
- Digital ID won’t be required for Right To Work, but more compulsion looms Jan 19 07:41

Comment