TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Algorithmatic.com: a repository and dev. env. for algorithms

28 点作者 ANaimi超过 15 年前

12 条评论

tl超过 15 年前
"To view this page you need Microsoft Silverlight 3 plug-in."<p>I don't think that was a good idea.
评论 #793018 未加载
评论 #793747 未加载
评论 #793004 未加载
plinkplonk超过 15 年前
"Algorithmatic, by itself, is a small and simple dynamically typed Object Oriented programming language that serves as a common denominator among popular programming languages. This means that Algorithmatic doesn’t rely on any exclusive/new feature – this guarantees the ability to port descent implementations to any other language."<p>I don't get it. How is a bunch of common algorithms implemented in a custom site-specific language particularly helpful?<p>Pseudo code for algorithms is widespread, as are working algorithms in almost every language you can think of. How is porting from this "algorithmatic" langauge any better than porting from (say) a Java implementation?<p>from the FAQ, "Implementations of all type of algorithms do exist wildly on the internet. However, these implementations differ in quality as much as they differ in syntax (or programming language.) "<p>So how does adding a <i>new</i> syntax (and behind the syntax, an untested interpreter/compiler, runtime etc) and inviting random people to submit algorithms in this <i>new</i> language solve this problem?<p>I must be missing something.
评论 #792969 未加载
roundsquare超过 15 年前
The implementaions here don't look that great.<p>Just take a look at the Naive Prime Generator. I know they call it Naive, but its <i>very</i> naive. To the point where if its checking if i is prime, it tries to see if number <i>greater than i</i> evenly divide it!<p>There are other optimizations they could toss in there (e.g. since they keep an array of prime numbers they need only divide by those) but you could try to argue that these make the code harder to understand... so for those I'm willing to give a pass.
j_baker超过 15 年前
I left the site as soon as I typed in quicksort and nothing came up.
pssdbt超过 15 年前
Usually I just close the window when asked to upgrade Silverlight, this seems like a good enough reason to upgrade (as much as I dislike it). Really though, why is it needed here? Not trying to hate, just curious...
thomaspaine超过 15 年前
I see a lot of naysayers here, but I think this is a good idea. I was actually considering doing this myself a while ago. One of the best things about Matlab is the community of plugins and algorithms, and having a somewhat central repository that makes them easy to find.<p>That being said, requiring Silverlight is a deal breaker for me. I'd also like to see something more like github, where it's easy to fork and make improvements to other people's code.
ismarc超过 15 年前
When I first opened the page, and saw the front page, I went "Man, this is gonna be great. An in-browser IDE (probably using some site specific syntax) to try out the algorithms. Given a common run-time and an assortment of different types of datasets, you can try out different methods of optimizations right there in the browser without having to do the tedious parts." Then I actually clicked on some links. Then I saw what it was really doing. Then I was sad because I made assumptions.<p>Seriously though, I'd completely redesign the site. Needing Silverlight to view the algorithm is just insanity. Add in a large amount of varied datasets, and make the goal of it an easy way to experiment with and share algorithms/optimizations (ie, you have 20 different variants of quick sort algorithms. A search for quick sort returns all 20 with graphs indicating the performance of each on each dataset).<p>As it stands, Wikipedia is a better reference for algorithms, using well-defined and concise pseudo-code to demonstrate the algorithm.
asjo超过 15 年前
'Type algorithm name here...' "Simplex" → 'your search term didn't match anything'<p>They forgot the "beta"-badge?
评论 #793218 未加载
gwern超过 15 年前
Anyone want to compare this to <a href="http://rosettacode.org/" rel="nofollow">http://rosettacode.org/</a> ?
gritzko超过 15 年前
Heh, the search returned nothing for "quick sort" and "hoare".
FrankBlack超过 15 年前
Doh! I thought it was the web page for a former U.S. Vice-President's new band. :(
dzlobin超过 15 年前
This is a great project, looking forward to it bustling with code.