Re: [racket-users] Porting embedded app from BC to CS

2021-12-20 Thread Matthew Flatt
At Mon, 20 Dec 2021 11:57:29 -0800 (PST), "thomas_d...@alumni.brown.edu" wrote: > So what happens from the perspective of embedding C code if an exception > occurs in Racket code it calls? It's not defined. In certain cases, control will escape from the C code, I think, but it depends on how the

Re: [racket-users] Porting embedded app from BC to CS

2021-12-20 Thread thomas_d...@alumni.brown.edu
Thanks! A couple follow-up questions inline. On Monday, December 20, 2021 at 2:34:29 PM UTC-5 Matthew Flatt wrote: > There's not really anything you can do to catch exception C-side right > now. If you need to catch exceptions, that has to be done Racket-side, > possibly with a helper created v

Re: [racket-users] Porting embedded app from BC to CS

2021-12-20 Thread Matthew Flatt
At Fri, 5 Nov 2021 08:58:06 -0700 (PDT), "thomas_d...@alumni.brown.edu" wrote: > - What are the preconditions and error-handling setup for calling > `racket_dynamic_require` and/or other `racket_*` functions? There's not really anything you can do to catch exception C-side right now. If you need

[racket-users] Re: Porting embedded app from BC to CS

2021-12-20 Thread thomas_d...@alumni.brown.edu
Gently bumping this thread in the hopes it might get some new eyes. On Friday, November 5, 2021 at 11:58:07 AM UTC-4 thomas_d...@alumni.brown.edu wrote: > I have some fairly simple code setting up an embedded Racket BC instance > in a C++ coroutine, allowing me to call `scheme_dynamic_require`

[racket-users] Re: Core Team: I need you decide what I should do about the spammer.

2021-12-20 Thread Mark Bestley
Sage Gerard writes: > Core team, > > Sam asked me to issue bans for a troublesome spammer. I've done so, even > just today. I understand I need quorum for larger decisions. This is why > I have not yet reconfigured the list to permanently stop the spammer. > After researching the problem further,

RE: [racket-users] Re: Surprising but convenient

2021-12-20 Thread Jacob Jozef
Thanks George,I got it now and after some experimenting have seen what you describe.JosĀ PS,I do close the port after killing the thread and deleting the file. I came across this because I have an object that is written on about two pages with sharing enabled, but takes more than GBs to write withou