Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've been trying to learn Perl, and on CPAN, I came across
Perl bindings for the libsvm Support Vector Machine library
What does bindings mean in this context?
I've never found this word before in computer science...
This kind of binding is the one that lets you use a library/API from one language (usually C, including in this case) in another language (in this case Perl).
An interface, a module that gives you access to the C library.
For example, my favorite XML parser is XML::LibXML, except it doesn't do any parsing. It's actually a glue layer that binds the objects and methods of the C++ libxml2 library to Perl objects and methods.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
According to Scala style guide (https://docs.scala-lang.org/style/files.html), multi-unit files should be named with lower camel case. However, nobody seems to do it. I asked few experienced Scala developers and they didn't know about this convention. Even mentioned example is misleading and Option.scala (checked for scala 2.13.6) starts with capital letter.
This whole idea is for me rather obscure. On one hand official style guide states that as
very important convention
on the other hand even files built-in Scala language don't follow this convention.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Would it technically possible to write an OS kernel in Swift and assembly instead of assembly and C/C++? So I'm not asking if it would be suitable for kernel development I would like to know if it would be technically possible (as far as the computer is concerned)
Yes you can write an OS kernel in any Turing-complete language and Swift is one. How suitable your language of choice for the task is a different matter completely.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
This question stems from curiosity more than anything else.
If one was to sit down and write a Perl module with the sole objective of getting that module to eventually become a part of the CORE load, what factors should they pay attention to? Here are a few that spring to mind, though I'm sure there are exceptions to every one of them:
Usefulness
Maturity
Stability
Core-modules-only dependency
Problem area being solved
Cross-platform compatibility
CPAN testers review
Reviews
Also, am I right in assuming that the Perl 5 Porters make the final call on whether to include something in the core load or not?
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Whats the best way to organize code in Rebol?
(Rebol2, not Rebol3. Rebol3 will have import, as it seems.)
Is the do %myfunctions.r-style all that is needed? There is no real package statement like in Java, or #include like in C?
Do community-approved naming conventions exist?
Could http://www.rebol.it/power-mezz/mezz/module.html be considered a standard?
I read somewhere that I could build my own module system as well. But this seems not like a sensible approach to me.
Is this discussion doomed as Rebol3 will be finished soon? ;-)
Some subjects I know use my include.r, released under Apache 2.0 now. It is not a module system but you may find it useful.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i am working on creatng a java code generator, basically I need to create a java class out of an xml. I dont want use any XML binding tools for this purpose.
What are the best praCtices for generating code generators
Are there tools available to do it.
A template tool like Velocity or Freemarker will do this - both of these can be rigged easily to handle XML, so you can generate based on an xpath or visiting an xml structure