mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2010-04-20, 17:24   #89
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Well I got into programming in vb.net then C then assembly ( some of each). Too bad I haven't ever figured half the stuff out in vb.net ( I'd need MSVS to do any) best I've ever done in vb.net is the basics of a OS deleting virus I never really compiled.

Last fiddled with by science_man_88 on 2010-04-20 at 17:26
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 17:28   #90
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101101110012 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
best I've ever done in vb.net is the basics of a OS deleting virus I never really compiled.
You're admitting in a public forum that you write viruses? Ballsy move.
bsquared is offline   Reply With Quote
Old 2010-04-20, 17:36   #91
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

NO! I don't write them in fact I haven't used vb.net in a while but I learned enough basics to make a code that could act as one. An array here a for loop there a few commands to do this and that a call to shutdown only to get rid of it and outside backups by the system or something similar take the OS down.
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 17:40   #92
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Well I can't say as I'm any less confused, but if I misinterpreted I apologize.

Maybe try to do a better job saying what you mean...
bsquared is offline   Reply With Quote
Old 2010-04-20, 17:48   #93
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

best I've ever done in vb.net is the basics of a OS deleting virus I never really compiled.
You're admitting in a public forum that you write viruses? Ballsy move.
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 20:20   #94
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Default

If you wanted an exe couldn't you compile pari code with the pari compiler ?
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 23:26   #95
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

"Also available is gp2c, the GP-to-C compiler, which compiles GP scripts into the C language and transparently loads the resulting functions into gp. The advantage of this is that gp2c-compiled scripts will typically run three to four times faster."



not that Wikipedia is reliable but I'm game to try this if you all are
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 23:28   #96
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

then we just compile to an exe is that's the route you'd like to take.The first PARI code listed is more efficient than mine we could use that if it 's optimised.

Last fiddled with by science_man_88 on 2010-04-20 at 23:29
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 23:34   #97
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Default

or we could compile get the optimised c code turn it to assembly and assemble
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 23:56   #98
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
"Also available is gp2c, the GP-to-C compiler, which compiles GP scripts into the C language and transparently loads the resulting functions into gp. The advantage of this is that gp2c-compiled scripts will typically run three to four times faster."



not that Wikipedia is reliable but I'm game to try this if you all are
What code are you trying to gp2c? I have experience with it if you'd like help, but not all code will benefit. Further, code that can be improved will often be improved further by hand-optimizing the generated C.
CRGreathouse is offline   Reply With Quote
Old 2010-04-21, 10:54   #99
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

CRG I'd go with axn's if you don't plan to translate yafu my pari code is worse than axn's from what I have tried. his works faster so you could try that.
science_man_88 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Squares a1call Miscellaneous Math 42 2017-02-03 01:29
Basic Number Theory 12: sums of two squares Nick Number Theory Discussion Group 0 2016-12-11 11:30
Integers = sums of 2s and 3s. 3.14159 Miscellaneous Math 12 2010-07-21 11:47
Sums of three squares CRGreathouse Math 6 2009-11-06 19:20
squares or not squares m_f_h Puzzles 45 2007-06-15 17:46

All times are UTC. The time now is 03:39.


Sat Jul 17 03:39:40 UTC 2021 up 50 days, 1:26, 1 user, load averages: 1.57, 1.63, 1.61

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.