Ref counting for CTFE?
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 30 08:54:25 PDT 2014
On Thu, 29 May 2014 23:11:25 -0400, Puming <zhaopuming at gmail.com> wrote:
> On Thursday, 29 May 2014 at 20:44:43 UTC, Dicebot wrote:
>
>> I'd love to see command-line flag that enables garbage collection in
>> compiler (disabled by default). It does not matter how fast compiler is
>> if it crashes on big project. And difference between 10 seconds vs 30
>> seconds is not as important as difference between 2 seconds vs 10
>> seconds anyway.
>
> I'd like to provide another use case:
>
> I use vibe.d to host my website in a DigitalOcean virtual machine with
> 512M RAM, which is the cheapest and most popular VPS sulotion out there.
> But I can't build my dub/vibe.d project on it because 512M RAM is far
> from enough for any CTFE related code to build. It crashes every time.
> My solution now is to use a VirtualBox ubuntu on my Mac/Win8 to build
> the project and rsync it on to DigitalOcean. Which is very slow
> turnaround.
I have the same problem. Dreamhost will actually kill the whole VPS system
if you use up the memory since it's a vLinux system.
-Steve
More information about the Digitalmars-d
mailing list