Re: Is it possible to generate a pool of random D or D inline assembler programs, run them safely?

2017-07-19 Thread WhatMeForget via Digitalmars-d-learn
On Tuesday, 18 July 2017 at 17:35:17 UTC, Enjoys Math wrote: The purpose of it is to make a real-time, short-lived function predictor. I'm genuinely curious. What is a function predictor used for?

Re: Is it possible to generate a pool of random D or D inline assembler programs, run them safely?

2017-07-18 Thread Sebastien Alaiwan via Digitalmars-d-learn
On Tuesday, 18 July 2017 at 17:35:17 UTC, Enjoys Math wrote: Without them crashing the app running them? Say by wrapping with try / catch? and, most probably a timeout, as you're certainly going to run into infinite loops. Reason is so I don't have to make my own VM. Why not reuse an

Re: Is it possible to generate a pool of random D or D inline assembler programs, run them safely?

2017-07-18 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 18 July 2017 at 17:35:17 UTC, Enjoys Math wrote: Without them crashing the app running them? Say by wrapping with try / catch? Run them in a separate process, so it can die independently.