User talk:Horst.h: Difference between revisions

m
(→‎Your Extensible Prime Generator Pascal contribution: examples showing Free Pascal now has the speed and other comments...)
 
(12 intermediate revisions by 5 users not shown)
Line 1:
==timings on RC==
Hi, I note that in one of your examples you sprinkle timings. On RC we tend not to get too involved in mentioning runtimes unless it is exceptionally slow. It is best to restrict timings to maybe comparative timings between two algorithms in the same language, and only where necessary: "This new algorithm cut the run time from X hours to only Y minutes" kind of thing. Actual run times will be hard to duplicate by anyone else, but th scaling in run times might be achieved. The RC emphasis is on idiomatic code rather than the absolute fastest code. Most examples will not take hours to run in most programming languages, and most examples don't need timings.
 
Thanks for your examples :-)<br>--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 23:09, 12 December 2018 (UTC)
 
 
===Your Extensible Prime Generator Pascal contribution===
 
You have obviously gone to great lengths to produce a fast version of this using Free Pascal, which caused me to look up what it is and found it interesting that it is a reincarnation and modernized version of Turbo Pascal/Delphi (most of the current contributors seem to have been not more than about 10 years old when Turbo Pascal first appeared!). Although I used Turbo Pascal commercially in about 1983 and later learned Delphi, it didn't cause me to want to abandon my current stable of more modern languages to take Pascal up again. But your taste seems to differ.
Line 32 ⟶ 34:
 
: It's been a "blast from the past" for me to re-visit Pascal after all these years in order to write this benchmark, but it has also made me realize how far language design has moved on since Turbo Pascal days when we used to rave about it: when compared to a modern language like Kotlin, or Nim, or with modern functional languages like Haskell or even more F#, there is just no going back for me as it feels "clunky". Verbosity in declaring var's separately from the code using them, no type inference whatsoever, begin/end blocks, etc. etc. Even Julia is better, although I don't like dynamic typing there are ways to get around it with some effort.--[[User:GordonBGood|GordonBGood]] ([[User talk:GordonBGood|talk]]) 04:43, 8 January 2019 (UTC)
 
 
==27s==
Thanks/wow --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:45, 26 June 2019 (UTC)
 
 
==signing the adding of text in discussions==
When adding (your) text to topics on discussion pages, please sign (appended at the end of your additions) with:
<br>
:::: <big><big><big> <nowiki> -- ~~~~ </nowiki> </big></big></big>
 
That is, two minus signs (or whatever), with four tildes (<b>~</b>). &nbsp; &nbsp; The latter adds your ID (name), and the UTC date and time. &nbsp; &nbsp; (There are other formats you can use.)
 
It saves (for all others) the bother of looking up who did what in the &nbsp; ''history'' &nbsp; page. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:08, 15 August 2019 (UTC)
 
 
==Brazilian numbers speed up==
Thanks for your hints on speeding up the calculations of Brazilian numbers.
 
Because I looked up the history incorrectly, I attributed the hint to the wrong person. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:08, 15 August 2019 (UTC)
 
== n-smooth numbers ==
Your &nbsp; Pascal &nbsp; entry for the &nbsp; '''n-smooth numbers''' &nbsp; concerning the 2nd part of the task, &nbsp; the output is missing for &nbsp; '''3-smooth''' &nbsp; and &nbsp; '''5-smooth''' &nbsp; numbers. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:43, 30 August 2019 (UTC)
 
==Cut Python in Super-d numbers?==
Hi, you seem to have cut the Python entry? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 09:52, 24 November 2019 (UTC)
: Python and Pascal restored.--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 10:04, 24 November 2019 (UTC)
::I used the link of RSS-feed and edited that site.Maybe so the Python entry get lost and Perl, next to Pascal, survived.Next times I will use the reloaded original page --[[User:Horst.h|Horst.h]] ([[User talk:Horst.h|talk]]) 10:00, 25 November 2019 (UTC)
 
::: Thanks. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 18:01, 25 November 2019 (UTC)
 
== First power of 2 that has leading decimal digits of 12 ==
 
To (re-)use an old saying, "now you're cooking with gas!". &nbsp; Quite a speed-up, eh? &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:58, 15 January 2020 (UTC)
 
: Thanks. I was horrified by the thought, to use base conversion on such big numbers. --[User:Horst.h][[User:Horst.h|Horst.h]] ([[User talk:Horst.h|talk]]) 20:17, 15 January 2020 (UTC)
 
:: Don't feel bad, I went down the same road, but much slower. &nbsp; When I realized that I couldn't compute (express) the (last example) power of two on my PeeCee, I had to re-invent the program. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:22, 15 January 2020 (UTC)
 
::: Many thanks for the pointer on how best to do this :)
 
::: I was going down a complete blind alley before! --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 21:09, 15 January 2020 (UTC)
 
== Edit mishap? ==
Is this supposed to mean something or should (most of) it just be deleted?
https://rosettacode.org/mw/index.php?title=Talk:Minimum_positive_multiple_in_base_10_using_only_0_and_1&diff=prev&oldid=298071
--[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 13:39, 4 March 2020 (UTC)
:mishap! Sometimes my fingers are out of CRTL-V
Anonymous user