Re:Writing GUI Apps Using the Red Programming Language
by Volt on Sunday December 24, 2017 @01:37PM
(#16000664)
It doesn't even have GC yet.
[ Parent
| on HN ]
Re:Writing GUI Apps Using the Red Programming Language
by mzzter on Sunday December 24, 2017 @09:55PM
(#16002384)
I guess I’ll try asking this again: How come Red doesn’t have a GC? If Red doesn’t have free, does it just leak memory?
Re:Writing GUI Apps Using the Red Programming Language
by 9214 on Monday December 25, 2017 @12:38AM
(#16002848)
First version of GC (and maybe some memory-management natives) will be integrated in 0.6.4 release, meanwhile there's some bag of tricks and conventions (`/into` refinement, creating series with `make ...`, etc) you can use to avoid additional allocations (almost) entirely.
Re:Writing GUI Apps Using the Red Programming Language
by christophilus on Sunday December 24, 2017 @10:01PM
(#16002401)
Yes. Last I checked, it just leaks memory. It doesn't have GC because it's a new language that is under heavy development. It doesn't have a lot of things that any sane language must have before 1.0. Give it time.
Re:Writing GUI Apps Using the Red Programming Language
by 35bge57dtjku on Sunday December 24, 2017 @02:45PM
(#16000990)
Like C or like Java with the GC turned off?
Re:Writing GUI Apps Using the Red Programming Language
by rebolek on Sunday December 24, 2017 @05:47PM
(#16001719)
C has alloc and free. Red is supposed to be garbage collected, so there's no free.
Re:Writing GUI Apps Using the Red Programming Language
by mzzter on Sunday December 24, 2017 @08:15PM
(#16002143)
How come Red doesn’t have a GC then? If Red doesn’t have free, does it just leak memory?
Re:Writing GUI Apps Using the Red Programming Language
by greggirwin on Wednesday December 27, 2017 @07:04PM
(#16019220)
GC will come. It just hasn't been needed yet for Red to continue its own development. If you write in Red/System, the C level dialect, you have `free`.
Re:Writing GUI Apps Using the Red Programming Language
by 35bge57dtjku on Sunday December 24, 2017 @08:24PM
(#16002181)
It's like there's an echo in here.