lexi-lambda changed the topic of #racket to: Racket v7.5 has been released: https://blog.racket-lang.org/2019/11/racket-v7-5.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 268 seconds]
pilne has joined #racket
badkins has joined #racket
orivej has quit [Ping timeout: 268 seconds]
true-grue has quit [Read error: Connection reset by peer]
badkins has quit [Remote host closed the connection]
iyzsong has joined #racket
catonano has quit [Ping timeout: 260 seconds]
lavaflow has quit [Quit: WeeChat 2.6]
narimiran has quit [Ping timeout: 258 seconds]
<ZombieChicken> Hello. Anyone have any suggestions on how to determine the amount of RAM a racket script/program is taking up? I'm trying to determine the RAM usage, but so far it looks like a 42 line program is taking up nearly 256MB, which seems to me to be insane
<vraid> could it be that racket defaults to giving instances 256MB of memory?
<ZombieChicken> vraid: Can't say. I havn't delved into Racket enough to get to that kind of thing. What would be the best way to determine that? And change said default?
<ZombieChicken> Hrm. Only thing I'm finding is (custodian-limit-memory ...), and it's apparently not making any difference.
<vraid> i don't know the internals very well, but 256 sounds suspiciously like a default number
libertyprime has quit [Ping timeout: 240 seconds]
<ZombieChicken> drracket says it's limit is 128MB in the REPL window
<vraid> is the script run through drracket?
<ZombieChicken> I've run it using drracket, emacs, and via command-line
wingsorc has joined #racket
libertyprime has joined #racket
<ZombieChicken> hahaha. (current-memory-use) returns a lovely 571817716 bytes...
<endobson> ZombieChicken: How are you running from the command line?
<ZombieChicken> endobson: ./script.rkt. I have "#!/usr/bin/env racket\n#lang racket/base" as the first two lines of the file
<ZombieChicken> aforementioned value was when running in drracket. From the commandline it's mearly 33596440
<ZombieChicken> so 33.5MB
<endobson> racket -n -l racket/base -e '(current-memory-use)', gives me ~15 MB
<endobson> with racket it is ~41 MB
johnjay has joined #racket
<ZombieChicken> I get 14MB for racket/base
<ZombieChicken> Holy cow. '(require irc) (current-memory-use)' returns 50MB...
libertyprime has quit [Ping timeout: 258 seconds]
badkins has joined #racket
libertyprime has joined #racket
badkins has quit [Ping timeout: 260 seconds]
lavaflow has joined #racket
<lexi-lambda> ZombieChicken: It looks like a single module of the irc package pulls in all of #lang racket for no actual reason. You could probably submit a PR to fix that pretty easily if you wanted to cut down on how much gets loaded.
<lexi-lambda> (Hilariously, the only module written in #lang racket consists of a single provided definition and nothing else. The definition is (define RPL_WELCOME 1).)
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
libertyprime has quit [Quit: leaving]
endobson has joined #racket
FreeFull has quit []
endformationage has quit [Quit: WeeChat 2.6]
wingsorc has quit [Ping timeout: 248 seconds]
catonano has joined #racket
b2coutts has joined #racket
<b2coutts> does anyone have experience with or know of ways to make html5 games with racket? is whalesong the way to go? does there exist some kind of wasm magic?
<b2coutts> I remember a few years ago trying to make a game in racket and found racket was too slow to hit 60fps but not really sure what the meta is for doing these things in racket
badkins has joined #racket
badkins has quit [Ping timeout: 268 seconds]
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #racket
libertyprime has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #racket
<dzoe> b2coutts: with sgl (racket-style OpenGL 1.5) you can easily hit 60fps
<dzoe> b2coutts: And on the ML there was an announcement of Vulkan bindings
<dzoe> Looks like you can already give it a try: https://docs.racket-lang.org/vulkan/index.html
Sgeo has joined #racket
Sgeo has quit [Remote host closed the connection]
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 258 seconds]
orivej has joined #racket
_whitelogger has joined #racket
libertyprime has quit [Ping timeout: 268 seconds]
_whitelogger has joined #racket
YuGiOhJCJ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
libertyprime has joined #racket
orivej has joined #racket
Codaraxis has joined #racket
true-grue has joined #racket
endobson has joined #racket
kritixilithos has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
notzmv has joined #racket
orivej has quit [Ping timeout: 240 seconds]
narimiran has joined #racket
vraid has quit [Ping timeout: 260 seconds]
vraid has joined #racket
kritixilithos has quit [Ping timeout: 240 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
vraid has quit [Remote host closed the connection]
kritixilithos has joined #racket
narimiran has quit [Ping timeout: 265 seconds]
kritixilithos has quit [Ping timeout: 240 seconds]
orivej has joined #racket
dddddd has joined #racket
kritixilithos has joined #racket
dddddd has quit [Read error: Connection reset by peer]
dddddd has joined #racket
libertyprime has quit [Quit: leaving]
kritixilithos has quit [Ping timeout: 240 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
_whitelogger has joined #racket
orivej has quit [Ping timeout: 258 seconds]
pie_ has joined #racket
kritixilithos has joined #racket
Trieste has quit [Ping timeout: 268 seconds]
Trieste has joined #racket
endformationage has joined #racket
wingsorc has joined #racket
FreeFull has joined #racket
ziyourenxiang has quit [Ping timeout: 265 seconds]
<samth> b2coutts: there's not an easy way to compile racket to js in general, but you can look at https://github.com/vishesh/racketscript/
endobson has joined #racket
fanta1 has joined #racket
samlamamma has joined #racket
<samlamamma> Are there any documents available on how to make DrRacket a more competent IDE? I'm missing things such as jump-to-definition keybinds, TAB autocomplete, function/macro signature help in a more easily reachable place (think how SLIME uses the Emacs modeline to show the function signature) and finally structured editing a la paredit
<samth> samlamamma: I'm not sure what you mean by "documents", but you can customize keybindings, for example. The blue box location can't be changed, but it can be permanently open (press f2). For structured editing, you can see https://pkgs.racket-lang.org/package/drracket-paredit
<samth> However, DrRacket isn't emacs and maybe you'd be more happy using racket-mode there
<samlamamma> samth: I accept HTML documents :P! Yeah, but I find racket-mode way worse than SLIME while Dr.Racket has a lot of cool stuff that SLIME doesn't so I wanna make an attempt at making it work.
wingsorc has quit [Quit: Leaving]
wingsorc has joined #racket
mzan has joined #racket
dustyweb has quit [Remote host closed the connection]
<greghendershott> samlamamma: If you care to share I'm glad to hear specific ways it's "way worse than SLIME" at https://github.com/greghendershott/racket-mode/issues :)
<greghendershott> samlamamma: As for your eldoc point I think that's more about Racket than about Racket Mode, as explained here: https://www.racket-mode.com/#eldoc
<greghendershott> "explained"... or "rationalized" if you disagree :)
narimiran has joined #racket
* greghendershott having responded to the bat signal, resumes New Year's Day, but will check IRC logs later
dustyweb has joined #racket
samlamamma has quit [Ping timeout: 265 seconds]
kritixilithos has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 258 seconds]
fanta1 has quit [Quit: fanta1]
fanta1 has joined #racket
brettgilio has quit [Read error: Connection reset by peer]
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
fanta1 has quit [Quit: fanta1]
pie_ has joined #racket
pie_ has quit [Quit: pie_]
pie_ has joined #racket
pie_ has quit [Client Quit]
narimiran has quit [Ping timeout: 268 seconds]
brettgilio has joined #racket
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
true-grue has quit [Read error: Connection reset by peer]
mzan has quit [Quit: Leaving]
orivej has joined #racket
orivej has quit [Ping timeout: 268 seconds]
badkins has joined #racket
ziyourenxiang has joined #racket