RE: Digest for runtimecompiledcplusplus@googlegroups.com - 1 update in 1topic

13 views
Skip to first unread message

Douglas Cox

unread,
Feb 26, 2019, 11:16:04 AM2/26/19
to runtimecompi...@googlegroups.com

Hi Tarmo,

 

I just wanted to mention that C# Assembly Unloading is finally being added for .Net Core 3. More information can be found here (https://devblogs.microsoft.com/dotnet/announcing-net-core-3-preview-2/) in the Assembly Unloadability section. The specifically mention this scenario: “Dynamically compiling, running, and then flushing code. Useful for web sites, scripting engines, etc.”

 

-Doug

 

From: runtimecompi...@googlegroups.com
Sent: Tuesday, February 26, 2019 8:50 AM
To: Digest recipients
Subject: Digest for runtimecompi...@googlegroups.com - 1 update in 1topic

 

Tarmo Pikaro <tap...@yahoo.com>: Feb 25 06:52AM -0800

Hi !
 
I've initially tried to prototype C# hotreloadable scripting support, and
currently it looks like working, but C# / .net framework produced major
constraint on application design.
(Once .dll is loaded it cannot be unloaded).
 
I intend to go into C++ script directions, but my idea is to recombine C++
project generation with Visual studio extension to get C++ script support.
 
Initial ideas on design ideas can be found from here:
 
C++ as scripting language
https://docs.google.com/document/d/11Tl3AMtTkd_qfcgBzcQLCupHmI_v0iJ1KuH7z_rpBDw/edit
 
Initial prototype for C# hotreloadable script support in here:
 
Boost Development Productivity: C# hot module / hotreloading scripting
support
https://www.youtube.com/watch?v=TrYOaNUXJBk
(My first youtube video, please don't be too picky :-) ).
 
Concerning C++ scripting - I have already sketched C++ "script" project
generator, which at the moment
is much like C# syncProj script, but I'll start to convert it to C++ script
next.
 
At the moment resides in C# script (based on Visual studio extension):
https://github.com/tapika/cppscriptcore/blob/master/Tools/vsDev/vsDev.cs#L77
I'll move it into VS Extension later on.
 
I have also started to sketch C++ project generation API, everything
related to C++ resides in here:
https://github.com/tapika/cppscriptcore/tree/master/SolutionProjectModel
 
Initial API (project generation and parsing)
https://github.com/tapika/cppscriptcore/blob/master/SolutionProjectModel/Project.h
 
Initial test application:
https://github.com/tapika/cppscriptcore/blob/master/SolutionProjectModel/testCppApp.cpp
 
Could we recombine our effort in common direction and which ?

You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to runtimecompiledcpl...@googlegroups.com.

 

 

Reply all
Reply to author
Forward
0 new messages