Jump to content

Talk:Arbitrary-precision integers (included): Difference between revisions

(→‎Use of external libraries: writing a bignum lib? feels like work...)
Line 7:
::So, you're looking for what people can do within the language or with a very common add-on library? (In some languages, it's normal and expected to be using extra libraries for things, and so the core language itself has very little functionality.) –[[User:Dkf|Donal Fellows]] 11:49, 13 February 2010 (UTC)
:: Just because the mechanism behind a task is already shown somewhere else doesn't mean we shouldn't allow the usage of that mechanism to solve a different problem. If we were to generalize that as a rule, most of the tasks on Rosetta Code would be defunct because we have tasks for looping and flow control. By their very nature, people tend to go with least-effort solutions, and for any given language, the least-effort solution to an expert will be idiomatic for that language. If a language has good support for arbitrary precision, an expert in that language is likely to use the native support. If the language has poor support, the expert in that language will prefer to pull in an outside library. --[[User:Short Circuit|Michael Mol]] 16:38, 13 February 2010 (UTC)
::: Can we get some more chimes in? I haven't forgotten about this; I've just been too busy to come back to it. I really don't care for requiring the use of builtins for a sophisticated problem, as I think a savvy developer in a language would favor builtins over imported functionality, but I'd like to know what other people on here think. (Do we have a name for contributors around here?) --[[User:Short Circuit|Michael Mol]] 14:53, 25 February 2010 (UTC)
 
I was rather hoping people would demonstrate how to write an arbitrary-precision / bignum library, in their preferred language, from scratch. I've been scribbling ideas on the train / bus to and from work. Um, err, yes ... in VBScript. Of course, it wouldn't necessarily be very efficient in that language, but, once working, it might be better in VB6 ... --[[User:Axtens|Axtens]] 13:31, 13 February 2010 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.