|
X Complete Initialization for 10 kreds Complete the Quest and earn an exclusive shiny kongpanion + 10 kreds 15% Congratulations! You’ve completed your Kongregate account! Congratulations! You’ve completed your Kartridge quest! Spend your hard earned kreds on some of these games! Diceycle's messagesPublic messages for Diceycle
oval
Dec 4, 2017 3:43am Hi, if i write calc like Your in c# or JS, how much slower it will be?
comment
Loading
Diceycle
Dec 5, 2017 4:39am
Impossible to tell to be honest. Languages have specific things that they are best at and can be faster in that specific aspect than any other language. It is on you to find that and build around it. … show moreImpossible to tell to be honest. Languages have specific things that they are best at and can be faster in that specific aspect than any other language. It is on you to find that and build around it. That said I wouldn’t reccomend JS to do something like this as scripting languages are usually always slower than compiler languages like C++ and C#. I also tried to squeeze every last bit of optimization out of this calc, so a standard approach would likely be slower until you put the time into it to make it more efficient. If you’re doing this for a learning experience I encourage you to just see how far you can get and then getting into the gritty details of the language of your choice, reading blog entries and stackoverflow comments on performance and really question everything in terms of speed. I really learned a lot doing this project, especially about clean code and common practices. Have fun! show less
maren5
Nov 3, 2017 3:34pm Hey Dicecycle, clang: error: no such file or directory: ‘CosmosQuest’ I also tried running with `CosmosQuest.exe` instead, but got: @(#)PROGRAM:ld PROJECT:ld64-302.3 Any advice on how to fix this? I can work around it with a VM, but that always takes a minute or two to spin up. Thanks for all your hard work! Hey Dicecycle, clang: error: no such file or directory: ‘CosmosQuest’ I also tried running with `CosmosQuest.exe` instead, but got: @(#)PROGRAM:ld PROJECT:ld64-302.3 Any advice on how to fix this? I can work around it with a VM, but that always takes a minute or two to spin up. Thanks for all your hard work!
Loading
Diceycle
Nov 4, 2017 2:20am
So first thing im seeing is that you have a -v in your compile command. Don’t know how that got in there. Thats why he’s trying to find a file named “cosmosQuest” instead of seting the target to it. A… show moreSo first thing im seeing is that you have a -v in your compile command. Don’t know how that got in there. Thats why he’s trying to find a file named “cosmosQuest” instead of seting the target to it. Also i recently added two new files with names base64.cpp and base64.h that are missing in your command. I reccomend you check the forum post for the newest compile command or use make show less |