Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Nimrod to 0.10.0 #1175
Conversation
idlewan
added some commits
Nov 3, 2014
hamiltont
reviewed
Nov 4, 2014
| @@ -1 +0,0 @@ | ||
| ./jester/hello.nim |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
Could you just update this instead of emptying it? The source_code file is used to count the lines of code in the project - each file listed in source_code has its lines counted
hamiltont
Nov 4, 2014
Contributor
Could you just update this instead of emptying it? The source_code file is used to count the lines of code in the project - each file listed in source_code has its lines counted
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
Nov 4, 2014
Contributor
I couldn't find a reference to it in the README, so I thought it was an unused artifact that could be deleted.
Maybe we should update the documentation about this (I didn't put such file for Nawak, for example. Maybe I should?).
idlewan
Nov 4, 2014
Contributor
I couldn't find a reference to it in the README, so I thought it was an unused artifact that could be deleted.
Maybe we should update the documentation about this (I didn't put such file for Nawak, for example. Maybe I should?).
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
I did too, until I was patching some code and it suddenly starting being used :-P I'll open an issue about missing documentation. In the meantime, adding the file to nawak would be useful to ensure we can count LOC for all the frameworks. We're not using these LOC numbers, but it's nice to include them in the hopes they are used in the future
hamiltont
Nov 4, 2014
Contributor
I did too, until I was patching some code and it suddenly starting being used :-P I'll open an issue about missing documentation. In the meantime, adding the file to nawak would be useful to ensure we can count LOC for all the frameworks. We're not using these LOC numbers, but it's nice to include them in the hopes they are used in the future
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
Nov 4, 2014
Contributor
I don't even think they are up to date with the directories change (when everything was put into frameworks/languageX/....
Should this be a path relative to TROOT, or FWROOT? Right now, they are all broken, because they refer to the old FWROOT.
idlewan
Nov 4, 2014
Contributor
I don't even think they are up to date with the directories change (when everything was put into frameworks/languageX/....
Should this be a path relative to TROOT, or FWROOT? Right now, they are all broken, because they refer to the old FWROOT.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
I fixed the code so that we wouldn't have to update all the different
source_code files, so the path is relative to the language folder
(Nimrod here).
hamiltont
Nov 4, 2014
Contributor
I fixed the code so that we wouldn't have to update all the different
source_code files, so the path is relative to the language folder
(Nimrod here).
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
Nov 4, 2014
Contributor
To note:
I was hit by #1070 and postgresql's remaining connection slots are reserved for non-replication superuser connection.
I thus limited the number of workers/database connections when on Travis (32 instead of 256).
|
To note: |
hamiltont
reviewed
Nov 4, 2014
| @@ -11,7 +11,7 @@ def start(args, logfile, errfile): | ||
| "host=" + args.database_host + " port=5432") | ||
| # compile the app | ||
| subprocess.check_call( | ||
| "nimrod c --threads:on -d:release -d:postgre_model --path:../installs/nawak/nawak -o:nawak_postgre app.nim", | ||
| "nim c --threads:on -d:release -d:postgre_model --path:$NAWAK_PATH -o:nawak_postgre app.nim", |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
glad to see all these paths fixed and using the variables instead of hardcoded values!
hamiltont
Nov 4, 2014
Contributor
glad to see all these paths fixed and using the variables instead of hardcoded values!
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
Nice, looks good so far! Is there a date for 0.10, so we know when to rename Nimrod folder to Nim? If not, it would be great to have an issue tracking that so we don't forget
|
Nice, looks good so far! Is there a date for 0.10, so we know when to rename |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
Nov 4, 2014
Contributor
No, there's no date planned (when it's done), but I'll be around to update it.
By the way, Travis didn't like when I tried renaming the Nimrod folder to Nim: it didn't verify it at all.
|
No, there's no date planned (when it's done), but I'll be around to update it. By the way, Travis didn't like when I tried renaming the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
I was hit by #1070 and postgresql's remaining connection slots are reserved for non-replication superuser connection.
Thanks for the info, and this is the correct "fix". When I have time to doc the limits I'll be sure to include that
Thanks for the info, and this is the correct "fix". When I have time to doc the limits I'll be sure to include that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hamiltont
Nov 4, 2014
Contributor
By the way, Travis didn't like when I tried renaming the Nimrod folder to Nim: it didn't verify it at all
yea, changing the names can be tricky due to how run-ci uses git to check for changes before verifying. If you can't get it or just want to pass it off, open an issue when you're ready and I'll take care of it when I've time
yea, changing the names can be tricky due to how run-ci uses git to check for changes before verifying. If you can't get it or just want to pass it off, open an issue when you're ready and I'll take care of it when I've time |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
Nov 5, 2014
Contributor
The Travis CI build passed for the impacted tests (Jester and Nawak).
The overall status is reported (Failed) because of the full rebuild necessary.
|
The Travis CI build passed for the impacted tests (Jester and Nawak). |
added a commit
that referenced
this pull request
Nov 5, 2014
msmith-techempower
merged commit adcdd71
into
TechEmpower:master
Nov 5, 2014
1 check failed
LadyMozzarella
referenced this pull request
Mar 18, 2015
Closed
Document source_code in the README #1
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Vikaton
commented
May 20, 2015
|
Nim has been updated to 0.11.2, what does it take to update it? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
idlewan
May 20, 2015
Contributor
It's probably alright for jester, however nawak_mongrel is not yet compatible with it.
I guess you could take a look at https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/toolset/setup/linux/languages/nim.sh and have two versions of that file for Nim 0.10.2 and 0.11.2 (like python2/3 or java7/8 have) until nawak gets an update.
|
It's probably alright for jester, however nawak_mongrel is not yet compatible with it. I guess you could take a look at https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/toolset/setup/linux/languages/nim.sh and have two versions of that file for Nim 0.10.2 and 0.11.2 (like python2/3 or java7/8 have) until nawak gets an update. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Vikaton
May 20, 2015
I also think it's a good idea to have bare Nim http server, which is very performent in 0.11.2
Vikaton
commented
May 20, 2015
|
I also think it's a good idea to have bare Nim http server, which is very performent in 0.11.2 |
idlewan commentedNov 4, 2014
Update Nimrod, Jester and Nawak to their latest versions.
N.B.: Nimrod the programming language is being renamed Nim when the official 0.10 comes out.